databio / bbconf

Configuration package for bedbase project
https://pypi.org/project/bbconf/
BSD 2-Clause "Simplified" License
1 stars 2 forks source link

Restructure tests #52

Open khoroshevskyi opened 1 month ago

khoroshevskyi commented 1 month ago

As good praises we shouldn't use actual databases for testing. Consider to use: another test class instead of bedbaseconfig to write data to txt file or any similar file. Also consider using @runtime_checkable for that

nsheff commented 1 month ago

I just made it so that the tests will skip automatically if the database isn't running; so, we're set up to easily accommodate tests that don't require database connection now.