I don't yet know a way to test the start_log function
This commit is contained in:
parent
a1dd39f92a
commit
efa8d45d9c
@ -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)
|
Reference in New Issue
Block a user