Skip to content

change test dir to top level#111

Merged
sbillinge merged 3 commits intodiffpy:mainfrom
stevenhua0320:testmove
Sep 13, 2024
Merged

change test dir to top level#111
sbillinge merged 3 commits intodiffpy:mainfrom
stevenhua0320:testmove

Conversation

@stevenhua0320
Copy link
Copy Markdown
Contributor

see scikit-package/scikit-package#114 for more details

@bobleesj
Copy link
Copy Markdown
Contributor

bobleesj commented Sep 9, 2024

@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
Copy link
Copy Markdown
Contributor Author

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 ======================================================================

Copy link
Copy Markdown
Contributor

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please try and remove the tests/__init__.py

@sbillinge sbillinge merged commit f330de1 into diffpy:main Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants