Ejemplo n.º 1
0
 def test_is_dry_run_noexecute(self):
     args = argparse.Namespace(generate=False, execute=False)
     assert is_dry_run(args) is True
Ejemplo n.º 2
0
 def test_is_dry_run_both(self):
     args = argparse.Namespace(generate=True, execute=True)
     assert is_dry_run(args) is True
Ejemplo n.º 3
0
 def test_is_dry_run_both(self):
     args = argparse.Namespace(generate=True, execute=True)
     assert is_dry_run(args) is True
Ejemplo n.º 4
0
 def test_is_dry_run_noexecute(self):
     args = argparse.Namespace(generate=False, execute=False)
     assert is_dry_run(args) is True