Cover Exception

feat
Laurent Kislaire 4 years ago
parent 4c154e85eb
commit 6900501878

@ -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