Exemple #1
0
 def test_from_command_no_action(self):
     with Connection.from_command(base_args):
         pass
Exemple #2
0
 def test_from_command(self):
     with Connection.from_command(base_args) as conn:
         self.assertEqual(conn.call(operator.add, 2, 2), 4)