2013-03-12 21:38:22 +01:00
|
|
|
from django.test import TestCase as _TestCase
|
|
|
|
|
2017-08-22 14:17:20 +02:00
|
|
|
from ..core.config import config
|
|
|
|
|
2013-03-12 21:38:22 +01:00
|
|
|
|
|
|
|
class TestCase(_TestCase):
|
|
|
|
"""
|
2017-08-22 14:17:20 +02:00
|
|
|
Resets the config object after each test.
|
2016-06-02 12:47:01 +02:00
|
|
|
"""
|
2017-08-22 14:17:20 +02:00
|
|
|
|
2017-08-24 12:26:55 +02:00
|
|
|
def tearDown(self) -> None:
|
2018-07-09 23:22:26 +02:00
|
|
|
config.save_default_values()
|