File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change 22# -*- coding: utf-8 -*-
33
44"""
5- test_wrdsbc
5+ test_wrdrd
66----------------------------------
77
8- Tests for `wrdsbc ` module.
8+ Tests for `wrdrd ` module.
99"""
1010
1111import unittest
1212
13- from wrdsbc import wrdsbc
13+ import wrdrd
14+ import wrdrd .tools
15+ import wrdrd .tools .domain
16+ import wrdrd .tools .crawl
17+ import wrdrd .tools .stripsinglehtml
1418
1519
16- class TestWrdsbc (unittest .TestCase ):
20+ class TestWrdrd (unittest .TestCase ):
1721
1822 def setUp (self ):
1923 pass
2024
21- def test_something (self ):
22- pass
25+ def test_imports (self ):
26+ assert wrdrd
27+ assert wrdrd .tools
28+ assert wrdrd .tools .domain
29+ assert wrdrd .tools .crawl
30+ assert wrdrd .tools .stripsinglehtml
2331
2432 def tearDown (self ):
2533 pass
2634
2735if __name__ == '__main__' :
28- unittest .main ()
36+ unittest .main ()
You can’t perform that action at this time.
0 commit comments