From 045f9bc3b68f03d88b9623a0893eeca3ff1ff372 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 9 Jul 2016 21:36:50 +0200 Subject: implement server for nginx auth_request --- login_test.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'login_test.py') diff --git a/login_test.py b/login_test.py index 4557de8..2bdbef3 100755 --- a/login_test.py +++ b/login_test.py @@ -1,17 +1,17 @@ #!/usr/bin/env python3 import unittest -import login +import functions class TestStringMethods(unittest.TestCase): def test_normalize(self): - self.assertEqual(login.normalize_token("A4-B4-C5"), + self.assertEqual(functions._normalize_token("A4-B4-C5"), "A4B4C5") - self.assertEqual(login.normalize_token("a4-b4-c5"), + self.assertEqual(functions._normalize_token("a4-b4-c5"), "A4B4C5") - self.assertEqual(login.normalize_token("a4b4c5"), + self.assertEqual(functions._normalize_token("a4b4c5"), "A4B4C5") - self.assertEqual(login.normalize_token("A4B4C5"), + self.assertEqual(functions._normalize_token("A4B4C5"), "A4B4C5") -- cgit v1.2.1