Browse Source

Cover Exception

feat
Laurent Kislaire 3 years ago
parent
commit
6900501878
  1. 2
      tests/conn_test.py

2
tests/conn_test.py

@ -14,6 +14,8 @@ from pyfbx.mdns import FbxMDNS
def test_fbx_register():
f = Fbx("http://192.168.1.254/api/v6")
with pytest.raises(Exception):
f.mksession()
with patch('pyfbx.client.FbxTransport.api_exec',
side_effect=iter([
{"track_id": "id", "app_token": "tok"},

Loading…
Cancel
Save