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

Use STDIN project in test_projects to ensure it runs quickly #2575

Merged
merged 1 commit into from
Oct 30, 2021

Commits on Oct 29, 2021

  1. Use STDIN project in test_projects to ensure it runs quickly

    Existing test was actually running a full black-primer
    run which could be slow. This goes from 8 seconds to
    0.4 seconds on my machine.
    
    Needed to move to top level scope to leverage the caplog
    feature of pytest in order to test that the command line
    was parsing the bogus arguments and dumping to stderr.
    nipunn1313 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    c13b038 View commit details
    Browse the repository at this point in the history