Made test_config_csv clean up after itself, so test_rlists would pass
This commit is contained in:
parent
9a0ae97b07
commit
597f0ea2fe
@ -1,12 +1,18 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import unittest
|
||||
import os, shutil, unittest
|
||||
from planet import config
|
||||
|
||||
workdir = os.path.join('tests', 'work', 'config', 'cache')
|
||||
|
||||
class ConfigCsvTest(unittest.TestCase):
|
||||
def setUp(self):
|
||||
config.load('tests/data/config/rlist-csv.ini')
|
||||
|
||||
def tearDown(self):
|
||||
shutil.rmtree(workdir)
|
||||
os.removedirs(os.path.split(workdir)[0])
|
||||
|
||||
# administrivia
|
||||
|
||||
def test_feeds(self):
|
||||
|
Loading…
Reference in New Issue
Block a user