Skip to content

Commit 7850422

Browse files
🐛 fix unittest example in docs (#11992)
1 parent a0376de commit 7850422

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/en/open_source/contributing/how-to-write-a-parser.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,16 +298,16 @@ or like this:
298298
$ ./run-unittest.sh --test-case unittests.tools.<your_unittest_py_file>.<main_class_name>
299299
{{< /highlight >}}
300300

301-
Example for the blackduck hub parser:
301+
Example for the aqua parser:
302302

303303
{{< highlight bash >}}
304-
$ docker compose exec uwsgi bash -c 'python manage.py test unittests.tools.test_blackduck_csv_parser.TestBlackduckHubParser -v2'
304+
$ docker compose exec uwsgi bash -c 'python manage.py test unittests.tools.test_aqua_parser.TestAquaParser -v2'
305305
{{< /highlight >}}
306306

307307
or like this:
308308

309309
{{< highlight bash >}}
310-
$ ./run-unittest.sh --test-case unittests.tools.test_blackduck_csv_parser.TestBlackduckHubParser
310+
$ ./run-unittest.sh --test-case unittests.tools.test_aqua_parser.TestAquaParser
311311
{{< /highlight >}}
312312

313313
If you want to run all unit tests, simply run `$ docker-compose exec uwsgi bash -c 'python manage.py test unittests -v2'`

0 commit comments

Comments
 (0)