fix broken tests

This commit is contained in:
Jimmy Zelinskie 2016-03-18 15:48:41 -04:00
parent 408ac90346
commit 8af0b887ef
2 changed files with 3 additions and 1 deletions

View file

@ -6,7 +6,7 @@ from semantic_version import Version, Spec
from util.validation import generate_valid_usernames from util.validation import generate_valid_usernames
from util.registry.generatorfile import GeneratorFile from util.registry.generatorfile import GeneratorFile
from util.registry.dockerver import docker_version from util.registry.dockerver import docker_version
from util.string import slash_join from util import slash_join
class TestGeneratorFile(unittest.TestCase): class TestGeneratorFile(unittest.TestCase):
def sample_generator(self): def sample_generator(self):

View file

@ -1,6 +1,8 @@
import string import string
import re import re
import anunidecode # Don't listen to pylint's lies. This import is required.
INVALID_PASSWORD_MESSAGE = 'Invalid password, password must be at least ' + \ INVALID_PASSWORD_MESSAGE = 'Invalid password, password must be at least ' + \
'8 characters and contain no whitespace.' '8 characters and contain no whitespace.'