Skip to content

Commit

Permalink
Fixed imports in tests, added missing WheezyCaptcha import
Browse files Browse the repository at this point in the history
  • Loading branch information
kdipippo committed Oct 23, 2020
1 parent c41a7e8 commit 45be32f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion captcha/__init__.py
Expand Up @@ -15,4 +15,4 @@
__homepage__ = 'https://github.com/lepture/captcha'

from .audio import AudioCaptcha
from .image import ImageCaptcha
from .image import ImageCaptcha, WheezyCaptcha
2 changes: 1 addition & 1 deletion tests/test_audio.py
@@ -1,6 +1,6 @@
# coding: utf-8

from captcha.audio import AudioCaptcha
from captcha import AudioCaptcha


def test_audio_generate():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_image.py
Expand Up @@ -3,7 +3,7 @@
import sys

if not hasattr(sys, 'pypy_version_info'):
from captcha.image import ImageCaptcha, WheezyCaptcha
from captcha import ImageCaptcha, WheezyCaptcha

def test_image_generate():
captcha = ImageCaptcha()
Expand Down

0 comments on commit 45be32f

Please sign in to comment.