subdirect correctly

This commit is contained in:
Tyrel Souza 2016-05-25 12:46:34 -04:00
parent 11b35bab28
commit ec720e7ff4
No known key found for this signature in database
GPG Key ID: 2EECB5087209E6A5

View File

@ -51,7 +51,8 @@ class CeligoTest(unittest.TestCase):
fake_id = "fake_integration_id" fake_id = "fake_integration_id"
tempdir = tempfile.mkdtemp('celigo_testing') tempdir = tempfile.mkdtemp('celigo_testing')
bc = celigo.BackupCeligo(tempdir) bc = celigo.BackupCeligo(tempdir)
imports_dir = os.path.join(tempdir, fake_id, "imports")
imports_dir = os.path.join(tempdir, "integrations", fake_id, "imports")
connections_dir = os.path.join(tempdir, "connections") connections_dir = os.path.join(tempdir, "connections")
# Check that the directories don't exist already. # Check that the directories don't exist already.
self.assertFalse( self.assertFalse(