33from idom .__main__ import main
44from idom import client
55
6- from tests .test_client .utils import assert_file_is_touched
7-
86from tests .general_utils import assert_same_items
97
108
@@ -18,10 +16,6 @@ def test_simple_install(capsys):
1816 captured = capsys .readouterr ()
1917 assert "- jquery" in captured .out
2018
21- with assert_file_is_touched (client .web_module_path ("jquery" )):
22- main ("install" , "jquery" , "--force" )
23- assert client .web_module_exists ("jquery" )
24-
2519 main ("uninstall" , "jquery" )
2620 assert not client .web_module_exists ("jquery" )
2721
@@ -57,11 +51,8 @@ def test_restore(capsys):
5751 "args, error" ,
5852 [
5953 (("uninstall" , "x" , "--exports" ), ValueError ("does not support exports" )),
60- (("uninstall" , "x" , "--force" ), ValueError ("does not support force" )),
6154 (("installed" , "--exports" ), ValueError ("does not support exports" )),
62- (("installed" , "--force" ), ValueError ("does not support force" )),
6355 (("restore" , "--exports" ), ValueError ("does not support exports" )),
64- (("restore" , "--force" ), ValueError ("does not support force" )),
6556 ],
6657)
6758def test_bad_options (capsys , args , error ):
0 commit comments