Beispiel #1
0
    def test_it_should_not_be_compliant_if_the_outcome_is_unimplemented(self):
        r1 = Result(self.c1, Outcome(Outcome.Results.UNIMPLEMENTED))

        self.assertFalse(r1.is_compliant())
Beispiel #2
0
    def test_it_should_not_be_compliant_if_the_outcome_is_error(self):
        r1 = Result(self.c1, Outcome(Outcome.Results.ERROR))

        self.assertFalse(r1.is_compliant())
Beispiel #3
0
    def test_it_should_be_compliant_if_the_outcome_is_compliant(self):
        r1 = Result(self.c1, Outcome(Outcome.Results.PASS))

        self.assertTrue(r1.is_compliant())
Beispiel #4
0
    def test_it_should_not_be_compliant_if_the_outcome_is_unimplemented(self):
        r1 = Result(self.c1, Outcome(Outcome.Results.UNIMPLEMENTED))

        self.assertFalse(r1.is_compliant())
Beispiel #5
0
    def test_it_should_not_be_compliant_if_the_outcome_is_error(self):
        r1 = Result(self.c1, Outcome(Outcome.Results.ERROR))

        self.assertFalse(r1.is_compliant())
Beispiel #6
0
    def test_it_should_be_compliant_if_the_outcome_is_compliant(self):
        r1 = Result(self.c1, Outcome(Outcome.Results.PASS))

        self.assertTrue(r1.is_compliant())