package
Version:
v0.0.39
Opens a new window with list of versions in this module.
Published: Oct 17, 2018
License: AGPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
CTX returns our background testing context
DB returns an open test database pool
RC return a redis connection. Close should be called on it when complete
RP returns a redis pool to our test database
Reset clears out both our database and redis DB
ResetDB resets our database to our base state from our RapidPro dump
temba.dump can be regenerated by running:
% python manage.py migrate
% python manage.py test_db generate --seed 1337
% pg_dump -F c temba > temba.dump
ResetRP resets our redis database
Source Files
¶
Click to show internal directories.
Click to hide internal directories.