diffpy / diffpy.srmise

Other
0 stars 7 forks source link

change test dir to top level #111

Closed stevenhua0320 closed 1 month ago

stevenhua0320 commented 2 months ago

see https://github.com/Billingegroup/cookiecutter/issues/114 for more details

bobleesj commented 2 months ago

@stevenhua0320 Could you also try to remove run.py and debug.py? They were used previously to collect and run unittest functions. Now pytest is used instead.

stevenhua0320 commented 2 months ago

run via pytest pytest ===================================================================== test session starts ===================================================================== platform darwin -- Python 3.12.4, pytest-7.4.4, pluggy-1.0.0 rootdir: /Users/huarundong/dbs/diffpy.srmise collected 4 items

tests/test_dataclusters.py .... [100%]

====================================================================== 4 passed in 0.33s ======================================================================