Skip to content

Commit 60d5aa8

Browse files
committed
4 | Update setup.py to new version
1 parent 0c3b09d commit 60d5aa8

File tree

7 files changed

+7
-3
lines changed

7 files changed

+7
-3
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
FROM python:3.6-slim
22

33
WORKDIR /app
4-
COPY . /app
54

65
RUN apt-get update && apt-get install -y gcc python3-dev
76

87
RUN pip install --upgrade pip
8+
9+
COPY requirements.txt /app
10+
911
RUN pip install --no-cache-dir -r requirements.txt
12+
13+
COPY . /app

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="flask_inputfilter",
5-
version="0.0.3",
5+
version="0.0.4",
66
author="Leander Cain Slotosch",
77
author_email="[email protected]",
88
description="A library to filter and validate input data in"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def test_is_base64_image_validator(self) -> None:
180180
"image", required=True, validators=[IsBase64ImageValidator()]
181181
)
182182

183-
with open("tests_package/data/base64_image.txt", "r") as file:
183+
with open("test/data/base64_image.txt", "r") as file:
184184
self.inputFilter.validateData({"image": file.read()})
185185

186186
with self.assertRaises(ValidationError):

0 commit comments

Comments
 (0)