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

Improve types for DiscoverRunner #1106

Merged
merged 7 commits into from
Aug 26, 2022

Conversation

adamchainz
Copy link
Contributor

@adamchainz adamchainz commented Aug 14, 2022

I have made things!

  • PDBDebugResult - missing result class related to the --pdb flag. I noticed that DebugSQLTextTestResult repeats hints for things inherited from TextTestResult - why is that? I didn't do that for PDBDebugResult...
  • test_suite, parallel_test_suite, test_runner, test_loader, reorder_by - add real types rather than Any
  • pdb, test_name_patterns, buffer - args added in Large update #909 but attribute missed
  • time_keeper - attribute that relates to the timing flag
  • logger, shuffle, shuffle_seed, log, setup_shuffler - args, attributes, and methods from Django 4.0: https://docs.djangoproject.com/en/4.0/releases/4.0/#tests
  • load_with_patterns, load_tests_for_label, _get_databases - some missing methods

Related issues

n/a

@adamchainz
Copy link
Contributor Author

From now on, I will run at least some tests locally before making a PR 😅😅😅

@sobolevn sobolevn merged commit cf16720 into typeddjango:master Aug 26, 2022
@adamchainz adamchainz deleted the discover_runner branch August 26, 2022 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants