diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2018-01-17 09:09:34 +1100 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2018-01-17 09:09:34 +1100 |
| commit | 2601caead656b41cc69bc2c1d2b1a11c7edf2e2b (patch) | |
| tree | 93be93ccd957adbc5eab1aca04049450e07407b5 /tests/test_colors.py | |
| parent | 0a71cb7b2b797a64d7798dd539a37d3a0fb7aed7 (diff) | |
tests: Update tests.
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() |
