Skip to content

Commit c928757

Browse files
author
Kevin Turner
committed
[project @ move test/ to openid.test. For #967]
1 parent a66f660 commit c928757

21 files changed

Lines changed: 10 additions & 9 deletions

test/runtests renamed to admin/runtests

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def otherTests():
2525
for module_name in test_modules:
2626
print 'Testing %s...' % (module_name,) ,
2727
sys.stdout.flush()
28+
module_name = 'openid.test.' + module_name
2829
try:
2930
test_mod = __import__(module_name, {}, {}, [None])
3031
except ImportError:
@@ -45,16 +46,16 @@ def otherTests():
4546
return failed
4647

4748
def pyunitTests():
48-
import test_htmldiscover
49-
import test_openidyadis
50-
import test_discover
5149
import unittest
52-
import consumer
53-
import kvform
54-
import server
55-
import oidutil
56-
import linkparse
57-
import trustroot
50+
from openid.test import test_htmldiscover
51+
from openid.test import test_openidyadis
52+
from openid.test import test_discover
53+
from openid.test import consumer
54+
from openid.test import kvform
55+
from openid.test import server
56+
from openid.test import oidutil
57+
from openid.test import linkparse
58+
from openid.test import trustroot
5859

5960
pyunit_modules = [
6061
server,

openid/test/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)