~vcs-imports/zope.app.server/trunk

« back to all changes in this revision

Viewing changes to src/zope/app/server/tests/test_zpasswd.py

  • Committer: fafhrd
  • Date: 2009-12-20 03:19:33 UTC
  • Revision ID: vcs-imports@canonical.com-20091220031933-076ft5nd2cqo3qq7
Use zope.password instead of zope.app.authentication

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
##############################################################################
14
14
"""Tests for the zpasswd script.
15
15
 
16
 
$Id: test_zpasswd.py 70794 2006-10-19 04:29:42Z baijum $
 
16
$Id: test_zpasswd.py 106792 2009-12-20 03:19:33Z fafhrd $
17
17
"""
18
18
 
19
19
import os
20
 
import unittest
21
 
 
22
 
from zope.testing.doctestunit import DocTestSuite
23
 
 
24
 
from zope.app.authentication import password
 
20
import unittest, doctest
 
21
 
 
22
from zope.password import password
25
23
from zope.app.server.tests.test_mkzopeinstance import TestBase
26
24
 
27
25
from zope.app.server import zpasswd
132
130
 
133
131
 
134
132
def test_suite():
135
 
    suite = DocTestSuite('zope.app.server.zpasswd')
 
133
    suite = doctest.DocTestSuite('zope.app.server.zpasswd')
136
134
    suite.addTest(unittest.makeSuite(ArgumentParsingTestCase))
137
135
    suite.addTest(unittest.makeSuite(InputCollectionTestCase))
138
136
    return suite