* dosyaadlarini da duselt
This commit is contained in:
@@ -35,7 +35,7 @@ class ArchiveFileTestCase(unittest.TestCase):
|
||||
"171545adab7b51ebf6ec5575d3000a95")
|
||||
|
||||
def testUnpackZip(self):
|
||||
ctx = context.Context("unittests/sandbox/sandbox.pspec")
|
||||
ctx = context.Context("tests/sandbox/sandbox.pspec")
|
||||
fetch = fetcher.Fetcher(ctx)
|
||||
fetch.fetch()
|
||||
|
||||
|
||||
@@ -17,14 +17,14 @@ class InstallDBTestCase(unittest.TestCase):
|
||||
|
||||
def testInstall(self):
|
||||
installdb.remove('installtest', '0.1', '2')
|
||||
installdb.install('installtest', '0.1', '2', './unittests/sandbox/files.xml')
|
||||
installdb.install('installtest', '0.1', '2', './tests/sandbox/files.xml')
|
||||
f = installdb.files('installtest', '0.1', '2')
|
||||
a = f.readlines()
|
||||
self.assertEqual(a[0], 'placeholder\n')
|
||||
self.assert_(installdb.is_installed('installtest', '0.1', '2'))
|
||||
|
||||
def testRemovePurge(self):
|
||||
installdb.install('installtest', '0.1', '2', './unittests/sandbox/files.xml')
|
||||
installdb.install('installtest', '0.1', '2', './tests/sandbox/files.xml')
|
||||
self.assert_(installdb.is_installed('installtest', '0.1', '2'))
|
||||
installdb.remove('installtest', '0.1', '2')
|
||||
self.assert_(installdb.is_removed('installtest', '0.1', '2'))
|
||||
|
||||
Reference in New Issue
Block a user