def setup_factory(self): self.status_path = 'status_path' self.exec_path = 'exec_path' self.factory = actioncommand.SubprocessActionRunnerFactory( self.status_path, self.exec_path, )
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)
def test__eq__true(self): first = actioncommand.SubprocessActionRunnerFactory('a', 'b') second = actioncommand.SubprocessActionRunnerFactory('a', 'b') assert_equal(first, second)