century-arcade / xd

a futureproof crossword corpus toolset
MIT License
221 stars 26 forks source link

test_xdfile references functions that don't exist anymore #72

Open davide125 opened 6 months ago

davide125 commented 6 months ago

I couldn't pinpoint the exact commit, but I assume these got refactored away at some point and the tests in xdfile/tests/test_xdfile.py weren't updated

=================================== FAILURES ===================================
________________________________ test_filename _________________________________

    def test_filename():
>       fname = xdfile.get_base_filename(test_selection)
E       AttributeError: module 'xdfile' has no attribute 'get_base_filename'

xdfile/tests/test_xdfile.py:11: AttributeError
_______________________________ test_parse_date ________________________________

    def test_parse_date():

>       date = xdfile.parse_date_from_filename(test_selection)
E       AttributeError: module 'xdfile' has no attribute 'parse_date_from_filename'

xdfile/tests/test_xdfile.py:18: AttributeError