Merge pull request #1299 from jzelinskie/fix-tests

fix broken tests
This commit is contained in:
Jimmy Zelinskie 2016-03-18 15:51:18 -04:00
commit e8a511d526
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.'