We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48e39ed commit bb4ad71Copy full SHA for bb4ad71
test_mini_spider.py
@@ -33,7 +33,7 @@ def test_trans_url(self):
33
self.assertEqual(mini.trans_url(inpt), outpt, 'failed')
34
self.assertEqual(mini.trans_url('1.+'), '1.+', 'failed')
35
36
-
+'''
37
class DownloadTest(unittest.TestCase):
38
39
fm = ''.join(['file:///', os.path.join(FILE_DIR, 'test_download_file')])
@@ -67,11 +67,6 @@ def setUp(self):
67
# 退出清理工作
68
def tearDown(self):
69
pass
70
- '''
71
- if os.path.exists(self.to):
72
- os.remove(self.to)
73
74
75
76
@httprettified
77
def test_get_url_text(self):
@@ -143,6 +138,7 @@ def test_spidermanage_ini(self):
143
138
self.wrong_url_config
144
139
)
145
140
141
146
142
147
if __name__ == '__main__':
148
unittest.main()
0 commit comments