mirror of
https://github.com/LazoCoder/Pokemon-Terminal
synced 2024-11-26 22:00:20 +00:00
test_adapter_methods()
This commit is contained in:
parent
3256c959f0
commit
eb63b5eeb7
1 changed files with 7 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue