added site lister
This commit is contained in:
parent
4487bf2806
commit
3456fae533
7 changed files with 47 additions and 4 deletions
|
@ -1 +1 @@
|
|||
1580861160
|
||||
1580888911
|
|
@ -16,5 +16,9 @@ class OnionrTests(unittest.TestCase):
|
|||
testargs = ["onionr.py", "version"]
|
||||
with patch.object(sys, 'argv', testargs):
|
||||
parser.register()
|
||||
def test_site_list(self):
|
||||
testargs = ["onionr.py", "list-sites"]
|
||||
with patch.object(sys, 'argv', testargs):
|
||||
parser.register()
|
||||
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue