fix tests

This commit is contained in:
zema1 committed 2017-10-21 10:51:35 +08:00
1 parent f5566148bc
commit d8bf33a12d
8 files changed
+80 -46

No files matched your search

-4
View File
@@ -4,7 +4,6 @@ from django.utils import timezone
from options.options import SysOptions
from utils.api.tests import APITestCase
from utils.cache import default_cache
from utils.constants import CacheKey
from .models import JudgeServer
@@ -70,9 +69,6 @@ class WebsiteConfigAPITest(APITestCase):
resp = self.client.get(url)
self.assertSuccess(resp)
def tearDown(self):
default_cache.delete(CacheKey.website_config)
class JudgeServerHeartbeatTest(APITestCase):
def setUp(self):