diff options
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/test_util.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/test_util.py b/tests/unittests/test_util.py index bdee9719..37a984ac 100644 --- a/tests/unittests/test_util.py +++ b/tests/unittests/test_util.py @@ -386,6 +386,7 @@ class TestReadDMIData(helpers.FilesystemMockingTestCase): self.assertEqual(None, util.read_dmi_data('expect-fail')) def test_dots_returned_instead_of_foxfox(self): + # uninitialized dmi values show as \xff, return those as . my_len = 32 dmi_value = b'\xff' * my_len + b'\n' expected = "" |