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

TST: also test on python 3.10, switch to pytest #2142

Merged
merged 8 commits into from
Feb 1, 2022
Merged

Commits on Jan 27, 2022

  1. TST: also test on python 3.10

    sebix committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    911e1db View commit details
    Browse the repository at this point in the history
  2. tst: use pytest instead of nosetests

    nose does not support Python 3.10 and is deprecated.
    pytest also gives good and nice output, so use this instead in the
    GitHub Action and in the docs
    sebix committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    f2bfa3a View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2022

  1. tst: define default pytest arguments

    - coverage settings
    - don't capture warnings, as then logging would not be able to capture
      them, causing test fails
      see https://docs.pytest.org/en/6.2.x/warnings.html#disabling-warning-capture-entirely
    sebix committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    b99d91a View commit details
    Browse the repository at this point in the history
  2. tst: mark jinja2 test as exotic

    apparently nose dependes on jinja2 and installed jinja2 implicitly
    sebix committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    b4e44cc View commit details
    Browse the repository at this point in the history
  3. tst: lib/test initialization log message check: py 3.10

    support the initialization logging message on python 3.10
    Python 3.10 returns such a version info:
    python 3.10.2 (main, Jan 16 2022, 11:55:27) [GCC 9.3.0]
    the gcc version is now
    extend the regex to catch this and make it more generic, less complex
    sebix committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    4046eb4 View commit details
    Browse the repository at this point in the history
  4. tst: fix jinja2 expert test

    - the __init__.py was missing. this was the reason that this test was
      never executed before with nose
    - set the overwrite parameter to test the behaviour actually
    sebix committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    b836736 View commit details
    Browse the repository at this point in the history
  5. tst: contrib malware mapping: fix argument parsing test

    the old code assumed that there were no command line arguments to the
    calling program.
    now set the arguments explicitly to []
    sebix committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    5321c47 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2022

  1. Configuration menu
    Copy the full SHA
    0a9a6db View commit details
    Browse the repository at this point in the history