mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Updated testConvert for the new output format.
This commit is contained in:
parent
b100ceb185
commit
1e8f8f634f
@ -50,10 +50,10 @@ class MathTestCase(PluginTestCase, PluginDocumentation):
|
||||
self.assertResponse('rpn 2 3 4 + -', str(2-7))
|
||||
|
||||
def testConvert(self):
|
||||
self.assertResponse('convert 1 m to cm', '100.0 [cm]')
|
||||
self.assertResponse('convert 1 M to cm', '100.0 [cm]')
|
||||
self.assertResponse('convert 1 m to CM', '100.0 [cm]')
|
||||
self.assertResponse('convert 1 m to cM', '100.0 [cm]')
|
||||
self.assertResponse('convert 1 m to cm', '100.0 cm')
|
||||
self.assertResponse('convert 1 M to cm', '100.0 cm')
|
||||
self.assertResponse('convert 1 m to CM', '100.0 cm')
|
||||
self.assertResponse('convert 1 m to cM', '100.0 cm')
|
||||
self.assertError('convert 1 m to kpa')
|
||||
self.assertNotRegexp('convert 1 m to kpa', 'UNUM_ERROR')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user