Closed msyriac closed 5 years ago
$ py.test ================================================================ test session starts ================================================================ platform linux -- Python 3.6.5, pytest-3.5.1, py-1.5.3, pluggy-0.6.0 rootdir: /global/u2/m/msyriac/repos/mapsims, inifile: setup.cfg plugins: remotedata-0.2.1, openfiles-0.3.0, doctestplus-0.1.3, arraydiff-0.2 collected 35 items / 1 errors ====================================================================== ERRORS ======================================================================= ________________________________________ ERROR collecting astropy_helpers/astropy_helpers/commands/_dummy.py ________________________________________ astropy_helpers/astropy_helpers/commands/_dummy.py:69: in __getattribute__ raise DistutilsArgError(cls.error_msg) astropy_helpers/astropy_helpers/commands/_dummy.py:67: in __getattribute__ return super(_DummyCommandMeta, cls).__getattribute__(attr) E AttributeError: type object '_DummyCommand' has no attribute 'error_msg' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ============================================================== 1 error in 2.07 seconds ==============================================================
What test framework should we use? I like py.test.
you can run the tests with python setup.py test
python setup.py test
Ok, that works, thanks.
under the hood uses py.test but needs to add some configuration on top
py.test
What test framework should we use? I like py.test.