Spaces:
Runtime error
Runtime error
π Fix tests
Browse files- tests/test_ui.py +1 -3
tests/test_ui.py
CHANGED
|
@@ -15,6 +15,4 @@ def test_create_interface():
|
|
| 15 |
interface = create_interface(MockBot(), examples=example)
|
| 16 |
|
| 17 |
# check if the interface has the correct properties
|
| 18 |
-
assert isinstance(interface, gr.
|
| 19 |
-
assert len(interface.examples) == 2
|
| 20 |
-
assert interface.examples == example
|
|
|
|
| 15 |
interface = create_interface(MockBot(), examples=example)
|
| 16 |
|
| 17 |
# check if the interface has the correct properties
|
| 18 |
+
assert isinstance(interface, gr.Blocks)
|
|
|
|
|
|