Archived
1
0

I don't yet know a way to test the start_log function

This commit is contained in:
Jip J. Dekker 2014-06-08 13:28:14 +02:00
parent a1dd39f92a
commit efa8d45d9c

View File

@ -20,8 +20,8 @@ class TestConfigurator(unittest.TestCase):
self.assertEqual(self.conf.scrapy_settings["FEED_URI"], "results.csv")
self.assertEqual(self.conf.scrapy_settings["FEED_FORMAT"], "csv")
def test_start_log(self):
self.conf.start_log("test.log", True)
self.conf.start_log("test.log", False)
self.conf.start_log(None, True)
self.conf.start_log(None, False)
# def test_start_log(self):
# self.conf.start_log("test.log", True)
# self.conf.start_log("test.log", False)
# self.conf.start_log(None, True)
# self.conf.start_log(None, False)