Files
panda3d/tests/putil/test_bamcache.py
rdb a01711148b tests: add an assorted variety of unit tests
I'm mostly trying to make sure we have over-coverage for a couple of places that are being hit intermittently by our current unit tests, generating noisy codecov reports.  If we make sure these places are hit always, we hopefully won't have codecov misreport lost/gained coverage for unrelated changes.
2020-04-02 13:45:09 +02:00

9 lines
264 B
Python

from panda3d import core
def test_bamcache_flush_index():
# We really only have this unit test so that this method is being hit
# consistently, and not intermittently, to avoid a noisy coverage report.
cache = core.BamCache()
cache.flush_index()