mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Made to use the conf.confDir.
This commit is contained in:
parent
e9b20c83ec
commit
2046e63898
@ -303,7 +303,7 @@ class IrcChannelTestCase(unittest.TestCase):
|
|||||||
self.failIf(c.checkIgnored(prefix))
|
self.failIf(c.checkIgnored(prefix))
|
||||||
|
|
||||||
class UsersDBTestCase(unittest.TestCase):
|
class UsersDBTestCase(unittest.TestCase):
|
||||||
filename = 'UsersDBTestCase.conf'
|
filename = os.path.join(conf.confDir, 'UsersDBTestCase.conf')
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
try:
|
try:
|
||||||
os.remove(self.filename)
|
os.remove(self.filename)
|
||||||
@ -353,7 +353,7 @@ class UsersDBTestCase(unittest.TestCase):
|
|||||||
|
|
||||||
|
|
||||||
class CheckCapabilityTestCase(unittest.TestCase):
|
class CheckCapabilityTestCase(unittest.TestCase):
|
||||||
filename = 'CheckCapabilityTestCase.conf'
|
filename = os.path.join(conf.confDir, 'CheckCapabilityTestCase.conf')
|
||||||
owner = 'owner!owner@owner'
|
owner = 'owner!owner@owner'
|
||||||
nothing = 'nothing!nothing@nothing'
|
nothing = 'nothing!nothing@nothing'
|
||||||
justfoo = 'justfoo!justfoo@justfoo'
|
justfoo = 'justfoo!justfoo@justfoo'
|
||||||
|
Loading…
Reference in New Issue
Block a user