add what the commit test, simply mylife tests
This commit is contained in:
@@ -14,42 +14,25 @@ class TestMylife(unittest.TestCase):
|
||||
|
||||
def test_fml(self):
|
||||
mylife.fml(self.phenny, None)
|
||||
out = self.phenny.say.call_args[0][0]
|
||||
|
||||
self.assertNotEqual(out,
|
||||
"I tried to use .fml, but it was broken. FML")
|
||||
assert self.phenny.say.called == 1
|
||||
|
||||
def test_mlia(self):
|
||||
mylife.mlia(self.phenny, None)
|
||||
out = self.phenny.say.call_args[0][0]
|
||||
|
||||
self.assertNotEqual(out,
|
||||
"I tried to use .mlia, but it wasn't loading. MLIA")
|
||||
assert self.phenny.say.called == 1
|
||||
|
||||
def test_mlib(self):
|
||||
mylife.mlib(self.phenny, None)
|
||||
out = self.phenny.say.call_args[0][0]
|
||||
|
||||
self.assertNotEqual(out,
|
||||
"MLIB is out getting a case of Natty. It's chill.")
|
||||
assert self.phenny.say.called == 1
|
||||
|
||||
def test_mlih(self):
|
||||
mylife.mlih(self.phenny, None)
|
||||
out = self.phenny.say.call_args[0][0]
|
||||
|
||||
self.assertNotEqual(out,
|
||||
"MLIH is giving some dome to some lax bros.")
|
||||
assert self.phenny.say.called == 1
|
||||
|
||||
def test_mlihp(self):
|
||||
mylife.mlihp(self.phenny, None)
|
||||
out = self.phenny.say.call_args[0][0]
|
||||
|
||||
self.assertNotEqual(out,
|
||||
"This service is not available to Muggles.")
|
||||
assert self.phenny.say.called == 1
|
||||
|
||||
def test_mlit(self):
|
||||
mylife.mlit(self.phenny, None)
|
||||
out = self.phenny.say.call_args[0][0]
|
||||
assert self.phenny.say.called == 1
|
||||
|
||||
self.assertNotEqual(out,
|
||||
"Error: Your life is too Twilight. Go outside.")
|
||||
|
||||
Reference in New Issue
Block a user