diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-06-27 18:16:54 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-06-27 18:16:54 +1000 |
| commit | 1ede83a0182d2084e08c6ed04c06c00ab457962a (patch) | |
| tree | ba0a2d8969e6654171f36a6a2d2ca27fa26e5f99 /tests | |
| parent | c2942fd431e5427eb803ba3f084e51f17c1581ff (diff) | |
General: Rename file to match others.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/test_format_colors.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/test_format_colors.py b/tests/test_format_colors.py index 63c1ce2..ab5946a 100755 --- a/tests/test_format_colors.py +++ b/tests/test_format_colors.py @@ -1,7 +1,7 @@ """Test format functions.""" import unittest -from pywal import format_color +from pywal import format_colors from pywal import util @@ -14,32 +14,32 @@ class TestFormatColors(unittest.TestCase): def test_plain(self): """> Convert colors to plain.""" - result = format_color.plain(COLORS) + result = format_colors.plain(COLORS) self.assertEqual(result[0], "#363442\n") def test_shell(self): """> Convert colors to shell variables.""" - result = format_color.shell(COLORS) + result = format_colors.shell(COLORS) self.assertEqual(result[0], "color0='#363442'\n") def test_css(self): """> Convert colors to css variables.""" - result = format_color.css(COLORS) + result = format_colors.css(COLORS) self.assertEqual(result[1], "\t--color0: #363442;\n") def test_scss(self): """> Convert colors to scss variables.""" - result = format_color.scss(COLORS) + result = format_colors.scss(COLORS) self.assertEqual(result[0], "$color0: #363442;\n") def test_putty(self): """> Convert colors to putty theme.""" - result = format_color.putty(COLORS) + result = format_colors.putty(COLORS) self.assertEqual(result[2], "\"colour0\"=\"54,52,66\"\n") def test_xrdb(self): """> Convert colors to putty theme.""" - result = format_color.xrdb(COLORS) + result = format_colors.xrdb(COLORS) self.assertEqual(result[6], "*.color0: #363442\n*color0: #363442\n") |
