Import AITURK IDE 1.0.0-beta.1 from Hermes 63279301; preserve MIT license
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
"""Test for rotating task-oriented composer placeholders (C-09)."""
|
||||
|
||||
from hermes_cli.tips import COMPOSER_PLACEHOLDERS, get_random_composer_placeholder
|
||||
|
||||
|
||||
def test_composer_placeholders_nonempty():
|
||||
assert COMPOSER_PLACEHOLDERS
|
||||
assert all(isinstance(p, str) and p.strip() for p in COMPOSER_PLACEHOLDERS)
|
||||
|
||||
|
||||
def test_get_random_composer_placeholder_returns_a_member():
|
||||
for _ in range(20):
|
||||
assert get_random_composer_placeholder() in COMPOSER_PLACEHOLDERS
|
||||
Reference in New Issue
Block a user