flake8
failed.
JSHint
passed.
Review Request #11934 — Created Jan. 18, 2022 and submitted
kgb now registers a pytest plugin, which provides a
spy_agencyfixture
for unit tests. This makes it easy for tests to make use of a
SpyAgency, which will clean up after itself once the test has run.Tests can call the new
assert_*functions on the spy agency, or they
can call the individual assertion methods that have been introduced,
depending on their needs.
Unit tests pass for all supported versions of Python.
| Summary | ID |
|---|---|
| 892084031c6625078414d1f1964dc08971282d7c |
| Description | From | Last Updated |
|---|---|---|
|
F401 'kgb.tests.base.TestCase' imported but unused |
|
Removed an unused import.
| Summary | ID | |
|---|---|---|
| aec38e3c151d33573073413052e561b854cd8ec7 | ||
| 8a737fe43646634f4f54909dbd36615c24981d4c |