diff options
Diffstat (limited to 'tests/test_colors.py')
| -rwxr-xr-x | tests/test_colors.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_colors.py b/tests/test_colors.py index 5efafa0..a3b939c 100755 --- a/tests/test_colors.py +++ b/tests/test_colors.py @@ -27,6 +27,11 @@ class TestGenColors(unittest.TestCase): result = colors.file("tests/test_files/test_file2.json") self.assertEqual(result["wallpaper"], "None") + def test_color_import_no_alpha(self): + """> Read colors from a file without an alpha.""" + result = colors.file("tests/test_files/test_file2.json") + self.assertEqual(result["alpha"], "100") + if __name__ == "__main__": unittest.main() |
