File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ class ProjectTests(unittest.TestCase):
99
1010 # ./Docker or docker/Docker
1111 def test_docker_dir (self ):
12- self .assertEqual (True , os .path .isdir ("./Docker " ))
12+ self .assertEqual (True , os .path .isdir ("./Dockerfile" ) | | os . path . isdir ( "./docker/Dockerfile " ))
1313
1414 # ./docker-compose.yml or ./docker/docker-compose.yml
1515 def test_docker_compose (self ):
16- self .assertEqual (True , os .path .isfile ('docker-compose.yml' ))
16+ self .assertEqual (True , os .path .isfile ('./docker-compose.yml' ) | | os . path . isfile ( './docker/ docker-compose.yml' ))
1717
1818 # ./.env_sample
1919 def test_env (self ):
@@ -49,7 +49,7 @@ def test_issue_template(self):
4949
5050 # ./LICENSE.md
5151 def test_license (self ):
52- self .assertEqual (True , os .path .isfile ('./LICENSE.md' ))
52+ self .assertEqual (True , os .path .isfile ('./LICENSE.md' ) | | os . path . isfile ( './LICENSE.txt' ) )
5353
5454 # ./.github/PULL_REQUEST_TEMPLATE
5555 def test_pr_template (self ):
@@ -72,4 +72,4 @@ def test_use_cases(self):
7272 self .assertEqual (True , os .path .isfile ('./USE_CASES.md' ))
7373
7474if __name__ == '__main__' :
75- unittest .main ()
75+ unittest .main ()
You can’t perform that action at this time.
0 commit comments