OpenIxia / ixnetwork_restpy

The IxNetwork python client.
https://openixia.github.io/ixnetwork_restpy/#/
MIT License
30 stars 16 forks source link

BadRequestError is not defined #54

Closed iwanb closed 3 years ago

iwanb commented 3 years ago

An import for BadRequestError is missing in ixnetwork_restpy/testplatform/sessions/sessions.py

ixnetwork_restpy/testplatform/sessions/sessions.py in Start(self)
    167                     break
    168                 elif time.time() - start > 300:
--> 169                     raise BadRequestError('Unable to start session %s after %s seconds' % (id, time.time() - start))
    170                 time.sleep(5)
    171         return self

NameError: name 'BadRequestError' is not defined
ajbalogh commented 3 years ago

addressed in v1.1.2