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>
This commit is contained in:
Aanand Prasad 2015-01-28 17:19:27 -05:00
parent d79dc85fa5
commit 9bc7604e0e
2 changed files with 8 additions and 2 deletions

View File

@ -0,0 +1,6 @@
simple:
image: busybox:latest
command: /bin/sleep 300
another:
image: busybox:latest
command: /bin/sleep 300

View File

@ -31,9 +31,9 @@ class CLITestCase(unittest.TestCase):
def test_project_name_with_explicit_uppercase_base_dir(self):
command = TopLevelCommand()
command.base_dir = 'tests/fixtures/Simple-figfile'
command.base_dir = 'tests/fixtures/UpperCaseDir'
project_name = command.get_project_name(command.get_config_path())
self.assertEquals('simplefigfile', project_name)
self.assertEquals('uppercasedir', project_name)
def test_project_name_with_explicit_project_name(self):
command = TopLevelCommand()