浏览代码

fix(api): fix captcha test

Peter Thomassen 5 年之前
父节点
当前提交
458a502479
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      api/desecapi/tests/test_captcha.py

+ 0 - 4
api/desecapi/tests/test_captcha.py

@@ -30,10 +30,6 @@ class CaptchaModelTestCase(TestCase):
         self.assertNotEqual(captcha[0].content, '')
         self.assertNotEqual(captcha[0].content, captcha[1].content)
 
-
-class CaptchaModelTestCase(TestCase):
-    captcha_class = Captcha
-
     def test_valid_png(self):
         for _ in range(10):
             # use the show method on the Image object to see the actual image during test run