Skip to content

Commit bb4ad71

Browse files
committed
test coveralls
1 parent 48e39ed commit bb4ad71

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test_mini_spider.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_trans_url(self):
3333
self.assertEqual(mini.trans_url(inpt), outpt, 'failed')
3434
self.assertEqual(mini.trans_url('1.+'), '1.+', 'failed')
3535

36-
36+
'''
3737
class DownloadTest(unittest.TestCase):
3838
3939
fm = ''.join(['file:///', os.path.join(FILE_DIR, 'test_download_file')])
@@ -67,11 +67,6 @@ def setUp(self):
6767
# 退出清理工作
6868
def tearDown(self):
6969
pass
70-
'''
71-
if os.path.exists(self.to):
72-
os.remove(self.to)
73-
'''
74-
7570
7671
@httprettified
7772
def test_get_url_text(self):
@@ -143,6 +138,7 @@ def test_spidermanage_ini(self):
143138
self.wrong_url_config
144139
)
145140
141+
'''
146142

147143
if __name__ == '__main__':
148144
unittest.main()

0 commit comments

Comments
 (0)