22
33from bob import response
44
5- # Tests adapted from `problem-specifications//canonical-data.json` @ v1.4 .0
5+ # Tests adapted from `problem-specifications//canonical-data.json` @ v1.6 .0
66
77
88class BobTest (unittest .TestCase ):
@@ -27,17 +27,16 @@ def test_asking_gibberish(self):
2727 self .assertEqual (response ("fffbbcbeab?" ), "Sure." )
2828
2929 def test_talking_forcefully (self ):
30- self .assertEqual (response ("Let's go make out behind the gym !" ), "Whatever." )
30+ self .assertEqual (response ("Hi there !" ), "Whatever." )
3131
3232 def test_using_acronyms_in_regular_speech (self ):
3333 self .assertEqual (
34- response ("It's OK if you don't want to go to the DMV ." ), "Whatever."
34+ response ("It's OK if you don't want to go work for NASA ." ), "Whatever."
3535 )
3636
3737 def test_forceful_question (self ):
3838 self .assertEqual (
39- response ("WHAT THE HELL WERE YOU THINKING?" ),
40- "Calm down, I know what I'm doing!" ,
39+ response ("WHAT'S GOING ON?" ), "Calm down, I know what I'm doing!"
4140 )
4241
4342 def test_shouting_numbers (self ):
@@ -56,7 +55,7 @@ def test_shouting_with_special_characters(self):
5655 )
5756
5857 def test_shouting_with_no_exclamation_mark (self ):
59- self .assertEqual (response ("I HATE THE DMV " ), "Whoa, chill out!" )
58+ self .assertEqual (response ("I HATE THE DENTIST " ), "Whoa, chill out!" )
6059
6160 def test_statement_containing_question_mark (self ):
6261 self .assertEqual (response ("Ending with ? means a question." ), "Whatever." )
0 commit comments