Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cram-ify "functional" pytests #1183

Merged
merged 13 commits into from
Mar 21, 2023
Merged

Commits on Mar 15, 2023

  1. Remove unused import

    victorlin committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    a689911 View commit details
    Browse the repository at this point in the history
  2. Cram-ify pytests for priority score files

    subsample-priority-values.t replaces two pytests
    (test_read_priority_scores_valid_with_spaces_and_tabs,
    test_read_priority_scores_valid) and covers a bit more.
    
    subsample-priority-file-error.t replaces two pytests
    (test_read_priority_scores_malformed,
    test_read_priority_scores_does_not_exist).
    victorlin committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    e94b8d2 View commit details
    Browse the repository at this point in the history
  3. Remove redundant pytests

    These are already covered by tests/functional/filter/cram/filter-query-example.t
    victorlin committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    d7be808 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1289e07 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e396cf3 View commit details
    Browse the repository at this point in the history
  6. Cram-ify test_filter_run_min_date

    Repurpose filter-min-date.t since it didn't check output contents.
    victorlin committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    0f85a7b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0fc3011 View commit details
    Browse the repository at this point in the history
  8. Cram-ify metadata date format tests

    The two tests are related, so put them in the same file.
    victorlin committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    8328a3b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1d6208d View commit details
    Browse the repository at this point in the history
  10. Simplify usage of argparser

    victorlin committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    5206e23 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    00ce0f4 View commit details
    Browse the repository at this point in the history
  12. Reformat pytest file

    Reorder imports, fix whitespace, and remove the unnecessary class
    victorlin committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    c402e38 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. Repurpose test_run to test_relative_dates

    See reasoning in changes.
    victorlin committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    d7785a3 View commit details
    Browse the repository at this point in the history