wuttasync.testing¶
Testing utilities
- class wuttasync.testing.ImportExportWarningTestCase(methodName='runTest')[source]¶
Base class for testing the import/export warning email settings.
This inherits from
ConfigTestCase.Example usage:
from wuttasync.testing import ImportExportWarningTestCase class TestEmailSettings(ImportExportWarningTestCase): def test_import_to_wutta_from_foo_warning(self): self.do_test_preview("import_to_wutta_from_foo_warning") def test_export_to_foo_from_wutta_warning(self): self.do_test_preview("export_to_foo_from_wutta_warning")