WavesGatewayFramework icon indicating copy to clipboard operation
WavesGatewayFramework copied to clipboard

Failing test

Open BlackTurtle123 opened this issue 5 years ago • 4 comments

When doing a clone from the project and running the tests as they are, there is one failing

ERROR: test_inject (tests.common.test_injector.TestInjector)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\bramV\Documents\PycharmProjects\WavesGatewayFrameworkQuart\tests\common\test_injector.py", line 53, in test_inject
    other_class_with_deps_instance = self._global_injector.get(other_class_with_deps_token)
  File "C:\Users\bramV\Documents\PycharmProjects\WavesGatewayFrameworkQuart\waves_gateway\common\injector.py", line 114, in get
    if self._dependency_map[token].instance is not None:
AttributeError: 'NoneType' object has no attribute 'instance'

BlackTurtle123 avatar Jun 23 '19 13:06 BlackTurtle123

Hello @BlackTurtle123,

I cannot confirm that. I did a clean install on my machine and the tests are still working. Are you using Python 3.5?

henning96 avatar Jun 24 '19 16:06 henning96

I am using Python 3.7

BlackTurtle123 avatar Jun 25 '19 06:06 BlackTurtle123

I'm sorry, but we only support Python 3.5.

Bram N. [email protected] schrieb am Di., 25. Juni 2019, 08:48:

I am using Python 3.7

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jansenmarc/WavesGatewayFramework/issues/24?email_source=notifications&email_token=ACKYPKNRPKREEWM7WGPUPA3P4G5VDA5CNFSM4H2Y7FBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYPG3OQ#issuecomment-505310650, or mute the thread https://github.com/notifications/unsubscribe-auth/ACKYPKL5727YIV2ZQEQMJTDP4G5VDANCNFSM4H2Y7FBA .

henning96 avatar Jun 25 '19 06:06 henning96

Ow okay, the git makes it sound like it's recommended to have python3.5, but not fixed on python3.5, so that was why I was thinking at least 3.5 My bad then From readme

A framework to connect other cryptocurrencies to the Waves platform. Requires Python 3.5 or newer.

BlackTurtle123 avatar Jun 25 '19 06:06 BlackTurtle123