Skip to content

Commit

Permalink
test: README: Fixed typo
Browse files Browse the repository at this point in the history
- test_checkers.py  instead of test_checker.py
- Fixed spelling of "variable"
  • Loading branch information
chaitanyamogal committed Jan 7, 2021
1 parent 748ddb0 commit 1a49132
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ mapping_test_data = [

To make the basic test suite run quickly, we create "faked" binary files to test the **CVE mappings**. However, we want to be able to test real files to test that the **signatures** work on real-world data.

You can see test data for package tests in *package_test_data* varible of the test data file you are writing test for.
You can see test data for package tests in *package_test_data* variable of the test data file you are writing test for.

We have `test_version_in_package` function in `test_scanner` that takes a *url*, and *package name*, *module name* and a *version*, and downloads the package, runs the scanner against it, and makes sure it is the package that you've specified. But we need more tests!

Expand Down Expand Up @@ -137,7 +137,7 @@ For ease of maintenance, please keep the parametrize list in alphabetical order

You can then run your new test using pytest:
```console
pytest test/test_checker.py
pytest test/test_checkers.py
```

You can also use all the pytest functionality to run groups of tests. For example, this will run the python-related tests (but not the bluetooth one):
Expand Down

0 comments on commit 1a49132

Please sign in to comment.