googleapis/python-datastore

Refactor systests to use pytest fixtures / idioms; split into modules as needed.

tseaver opened this issue · 0 comments

The current tests/system/test_system.py module has complicated, idiosyncratic setup / teardown (it long predates our use of pytest idioms).

  • Refactor the setupModule / setupClass / setup bits (and related teardowns) as pytest fixtures.
  • Split out into modules as convenient, leaving testcase functions as module-scope (no unittest.TestCase-derived classes).