Skip to content

Conversation

@nikie
Copy link

@nikie nikie commented Jun 5, 2025

Issue #, if available:
#249

Description of changes:

  1. This finishes the isPrimaryKey check implementation.
  2. All tests in tests/test_checks.py are fixed and refactored as follows:
    • pytest.mark.xfail marks are removed (according to pytest docs they are meant for cases when feature is not yet implemented or there is a new bug which cannot be fixed yet; also with such marks on tests with multiple asserts it is not obvious which asserts are supposed to fail);
    • "Success" and "Failure" checks are rearranged so that the former are grouped in test_<check> and the latter - in test_fail_<check> methods;
    • previously commented out tests are implemented with better assertion functions;
    • new run_check helper to simplify check tests;
    • some duplicated tests are removed.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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.

1 participant