Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hexUnit - test support python #276

Open
aliokan opened this issue Mar 18, 2018 · 0 comments
Open

hexUnit - test support python #276

aliokan opened this issue Mar 18, 2018 · 0 comments

Comments

@aliokan
Copy link
Contributor

aliokan commented Mar 18, 2018

missing constructor in hex.unittest.assertion.AssertionTest,

MacBook-Pro:bin ali_o_kan$ python MainTest.py
<<< Start hex.HexUnitSuite tests run >>>
  Suite class 'HexUnit suite'
    Suite class 'Assertion'
      Test class 'hex.unittest.assertion.AssertionTest'
Traceback (most recent call last):
  File "MainTest.py", line 4925, in <module>
    MainUnitTest.main()
  File "MainTest.py", line 259, in main
    emu.run()
  File "MainTest.py", line 3107, in run
    self._runNext()
  File "MainTest.py", line 3181, in _runNext
    self._runner.run()
  File "MainTest.py", line 3596, in run
    self._runClassDescriptor((None if ((_this1.head is None)) else _this1.head.elt))
  File "MainTest.py", line 3604, in _runClassDescriptor
    self._runSuiteClass(classDescriptor)
  File "MainTest.py", line 3620, in _runSuiteClass
    self._runClassDescriptor(classDescriptor)
  File "MainTest.py", line 3604, in _runClassDescriptor
    self._runSuiteClass(classDescriptor)
  File "MainTest.py", line 3620, in _runSuiteClass
    self._runClassDescriptor(classDescriptor)
  File "MainTest.py", line 3608, in _runClassDescriptor
    Reflect.setField(classDescriptor,"instance",(Reflect.field(classDescriptor,"instanceCall")() if ((Reflect.field(classDescriptor,"instanceCall") is not None)) else Type.createEmptyInstance(Reflect.field(classDescriptor,"type"))))
  File "MainTest.py", line 217, in _hx_local_59
    return Type.createEmptyInstance(hex_unittest_assertion_AssertionTest)
  File "MainTest.py", line 624, in createEmptyInstance
    i = cl.__new__(cl)
AttributeError: class hex_unittest_assertion_AssertionTest has no attribute '__new__'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant