|
@@ -9,6 +9,11 @@ class MessageTest(TestCase):
|
9
|
9
|
|
10
|
10
|
assert 1 == msg_val.get(message)
|
11
|
11
|
|
|
12
|
+ def test_nothing(self, overrides=None, exclude=None):
|
|
13
|
+ message = self._message_with_text("")
|
|
14
|
+
|
|
15
|
+ assert None == msg_val.get(message)
|
|
16
|
+
|
12
|
17
|
def test_message_nominal(self, overrides=None, exclude=None):
|
13
|
18
|
message = self._message_with_text("1234")
|
14
|
19
|
|
|
@@ -48,3 +53,8 @@ class MessageTest(TestCase):
|
48
|
53
|
message = self._message_with_text("A peine 5565 ouais...")
|
49
|
54
|
|
50
|
55
|
assert 5565 == msg_val.get(message)
|
|
56
|
+
|
|
57
|
+ def test_message_float_1(self, overrides=None, exclude=None):
|
|
58
|
+ message = self._message_with_text("11111,1111111111111111¼")
|
|
59
|
+
|
|
60
|
+ assert 11111 == msg_val.get(message)
|