Tbruand commited on
Commit
a68a14c
·
1 Parent(s): 1a3ded7

fix(test): adaptation du test de l'interface à la nouvelle structure en onglets Gradio 4

Browse files
Files changed (1) hide show
  1. tests/test_interface.py +1 -2
tests/test_interface.py CHANGED
@@ -29,5 +29,4 @@ def test_predict_invalid_model():
29
  def test_create_interface():
30
  from app.interface import create_interface
31
  iface = create_interface()
32
- assert iface.fn is not None
33
- assert len(iface.input_components) == 2
 
29
  def test_create_interface():
30
  from app.interface import create_interface
31
  iface = create_interface()
32
+ assert iface is not None