예제 #1
0
 def setup_factory(self):
     self.status_path = 'status_path'
     self.exec_path = 'exec_path'
     self.factory = actioncommand.SubprocessActionRunnerFactory(
         self.status_path,
         self.exec_path,
     )
예제 #2
0
 def test__eq__false(self):
     first = actioncommand.SubprocessActionRunnerFactory('a', 'b')
     second = actioncommand.SubprocessActionRunnerFactory('a', 'c')
     assert_not_equal(first, second)
     assert_not_equal(first, None)
     assert_not_equal(first, actioncommand.NoActionRunnerFactory)
예제 #3
0
 def test__eq__true(self):
     first = actioncommand.SubprocessActionRunnerFactory('a', 'b')
     second = actioncommand.SubprocessActionRunnerFactory('a', 'b')
     assert_equal(first, second)