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

Fix test instructions, and refactor tests for consistency #9

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Oct 27, 2016

  1. Add a .gitignore file.

    adamserafini committed Oct 27, 2016
    Configuration menu
    Copy the full SHA
    ca252ee View commit details
    Browse the repository at this point in the history
  2. Strip out unittest2 from test_basic.py and refactor.

    This commit makes tests/test_basic.py more similar to the other
    test files in the test directory. Ie. instead of using unittest,
    tests are just asserts in functions that can be run by pytest.
    adamserafini committed Oct 27, 2016
    Configuration menu
    Copy the full SHA
    7108bce View commit details
    Browse the repository at this point in the history
  3. Strip out unittest2 from test_rss.py and refactor.

    Refactor test_rss.py to be more similar to the other tests,
    ie. the tests are asserts in functions.
    adamserafini committed Oct 27, 2016
    Configuration menu
    Copy the full SHA
    afa284a View commit details
    Browse the repository at this point in the history
  4. Refactor test_errors.py, stop pytest complaining.

    Running test_errors.py with pytest generates the complaint that
    using yield in tests is deprecated. On closer inspection,
    test_errors.py can be simplified by embedding a multiline string
    with the error case in each test function.
    adamserafini committed Oct 27, 2016
    Configuration menu
    Copy the full SHA
    5bce782 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c96cac1 View commit details
    Browse the repository at this point in the history