Skip to content

Commit 9bc7604

Browse files
committed
Make sure we're testing uppercase directories properly
(OS X is case-sensitive so we can't have fixture dirs which are identically named if you ignore case) Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
1 parent d79dc85 commit 9bc7604

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
simple:
2+
image: busybox:latest
3+
command: /bin/sleep 300
4+
another:
5+
image: busybox:latest
6+
command: /bin/sleep 300

tests/unit/cli_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ def test_project_name_with_explicit_base_dir(self):
3131

3232
def test_project_name_with_explicit_uppercase_base_dir(self):
3333
command = TopLevelCommand()
34-
command.base_dir = 'tests/fixtures/Simple-figfile'
34+
command.base_dir = 'tests/fixtures/UpperCaseDir'
3535
project_name = command.get_project_name(command.get_config_path())
36-
self.assertEquals('simplefigfile', project_name)
36+
self.assertEquals('uppercasedir', project_name)
3737

3838
def test_project_name_with_explicit_project_name(self):
3939
command = TopLevelCommand()

0 commit comments

Comments
 (0)