mirror of https://github.com/docker/compose.git
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:
parent
d79dc85fa5
commit
9bc7604e0e
|
@ -0,0 +1,6 @@
|
|||
simple:
|
||||
image: busybox:latest
|
||||
command: /bin/sleep 300
|
||||
another:
|
||||
image: busybox:latest
|
||||
command: /bin/sleep 300
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue