Ejemplo n.º 1
0
 def test_enter_non_existing_abbreviation(self):
     with pytest.raises(UnKnownResponseTypeAbbreviation):
         convert_abbreviation_to_response_type("QQQ")
Ejemplo n.º 2
0
 def test_enter_correct_response_type_abbreviation(self, abbreviation):
     response_type = convert_abbreviation_to_response_type(abbreviation)
     abbreviation_result = convert_response_type_to_abbreviation(response_type)
     assert abbreviation == abbreviation_result