Skip to content

Commit cdd66b1

Browse files
committed
Add check for Dockerfile and requirements.txt
1 parent db317ee commit cdd66b1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/management/test_create_standard_algo.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ def test(self):
2424
# Check if manage py is present
2525
assert os.path.isfile(os.path.join(tempdir, 'manage.py'))
2626

27+
# Check if docker file is present
28+
assert os.path.isfile(os.path.join(tempdir, 'Dockerfile'))
29+
30+
# Check if requirements.txt is present
31+
assert os.path.isfile(os.path.join(tempdir, 'requirements.txt'))
32+
2733
# Check if all directories are present
2834
assert os.path.isdir(
2935
os.path.join(tempdir, self.project_name, 'data_providers')

0 commit comments

Comments
 (0)