Browse Source

Changed the check data test for the Boolean datahandler

Roland Haroutiounian 8 years ago
parent
commit
6f95cbb518
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      tests/datahandlers/test_boolean.py

+ 2
- 2
tests/datahandlers/test_boolean.py View File

@@ -10,12 +10,12 @@ class BooleanTestCase(unittest.TestCase):
10 10
 
11 11
         # correct values
12 12
         for test_value in [True, False]:
13
-            value, error = test_boolean.check_data_value(test_value)
13
+            _, error = test_boolean.check_data_value(test_value)
14 14
             self.assertIsNone(error)
15 15
 
16 16
         # incorrect values
17 17
         for test_value in ['ok', 'True', 'False']:
18
-            value, error = test_boolean.check_data_value(test_value)
18
+            _, error = test_boolean.check_data_value(test_value)
19 19
             self.assertIsNotNone(error)
20 20
 
21 21
     def test_can_override(self):

Loading…
Cancel
Save