summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/tests
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-12-16 14:24:42 +1100
committerGitHub <noreply@github.com>2020-12-16 14:24:42 +1100
commit37fb14f1b5cbcb0e5ff60abc9152073635234ba4 (patch)
tree31b12eb9ee9450ee5f5cf5a3da290e3c4bd81c41 /lib/python/qmk/tests
parent3925ff534251f44bc21848b5509415c1e41ff419 (diff)
CLI-ify rgblight_breathing_table_calc.c (#11174)
Co-authored-by: Takeshi ISHII <2170248+mtei@users.noreply.github.com> Co-authored-by: Zach White <skullydazed@drpepper.org>
Diffstat (limited to 'lib/python/qmk/tests')
-rw-r--r--lib/python/qmk/tests/test_cli_commands.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py
index 99ec596083..08e80f2c95 100644
--- a/lib/python/qmk/tests/test_cli_commands.py
+++ b/lib/python/qmk/tests/test_cli_commands.py
@@ -190,3 +190,10 @@ def test_clean():
result = check_subcommand('clean', '-a')
check_returncode(result)
assert result.stdout.count('done') == 2
+
+
+def test_generate_rgb_breathe_table():
+ result = check_subcommand("generate-rgb-breathe-table", "-c", "1.2", "-m", "127")
+ check_returncode(result)
+ assert 'Breathing center: 1.2' in result.stdout
+ assert 'Breathing max: 127' in result.stdout