예제 #1
0
 def test_string(self):
     assert "?" in display_score("")
예제 #2
0
 def test_none(self):
     assert "?" in display_score(None)
예제 #3
0
 def test_success(self):
     assert "success" in display_score("81")
예제 #4
0
 def test_info(self):
     assert "info" in display_score("79")
예제 #5
0
 def test_primary(self):
     assert "primary" in display_score("65")
예제 #6
0
 def test_warning(self):
     assert "warning" in display_score("50")
예제 #7
0
 def test_danger(self):
     assert "danger" in display_score("30")