dizinlerin bir kısmı configfile içerisine gitmişti.
Test'i buna göre düzeltelim
This commit is contained in:
@@ -8,7 +8,7 @@ class ContextTestCase(unittest.TestCase):
|
|||||||
def testConstness(self):
|
def testConstness(self):
|
||||||
# test if we can get a const attribute?
|
# test if we can get a const attribute?
|
||||||
try:
|
try:
|
||||||
test = const.archives_dir_suffix
|
test = const.package_prefix
|
||||||
self.assertNotEqual(test, "")
|
self.assertNotEqual(test, "")
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
self.fail("Couldn't get const attribute")
|
self.fail("Couldn't get const attribute")
|
||||||
@@ -40,7 +40,6 @@ class ContextTestCase(unittest.TestCase):
|
|||||||
constDict = {
|
constDict = {
|
||||||
"actions_file": "actions.py",
|
"actions_file": "actions.py",
|
||||||
"setup_func": "setup",
|
"setup_func": "setup",
|
||||||
"lib_dir_suffix": "/var/lib/pisi",
|
|
||||||
"metadata_xml": "metadata.xml"
|
"metadata_xml": "metadata.xml"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user