test_adapter_methods()

This commit is contained in:
cclauss 2017-07-04 13:23:12 +02:00 committed by GitHub
parent 3256c959f0
commit eb63b5eeb7

View file

@ -20,5 +20,12 @@ def test_available_terminals():
assert terminal in (terminal_names + non_terminals), terminal
def test_adapter_methods():
for terminal in available_terminals:
assert callable(terminal.clear)
assert callable(terminal.is_available)
assert callable(terminal.set_image_file_path)
if __name__ == '__main__':
test_available_terminals()