Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
transaction
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
transaction
Commits
f062fdf2
Commit
f062fdf2
authored
May 07, 2010
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated tests to remove use of deprecated ``zope.testing.doctest``.
parent
fcc803ba
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
8 deletions
+7
-8
CHANGES.txt
CHANGES.txt
+2
-2
setup.py
setup.py
+0
-1
transaction/tests/sampledm.py
transaction/tests/sampledm.py
+1
-1
transaction/tests/test_SampleDataManager.py
transaction/tests/test_SampleDataManager.py
+1
-1
transaction/tests/test_register_compat.py
transaction/tests/test_register_compat.py
+1
-1
transaction/tests/test_savepoint.py
transaction/tests/test_savepoint.py
+1
-1
transaction/tests/test_transaction.py
transaction/tests/test_transaction.py
+1
-1
No files found.
CHANGES.txt
View file @
f062fdf2
Changes
Changes
=======
=======
1.
1.0
(unreleased)
1.
0.1
(unreleased)
------------------
------------------
-
..
.
-
Updated tests to remove use of deprecated ``zope.testing.doctest``
.
1.0.0 (2009-07-24)
1.0.0 (2009-07-24)
------------------
------------------
...
...
setup.py
View file @
f062fdf2
...
@@ -50,7 +50,6 @@ setup(name='transaction',
...
@@ -50,7 +50,6 @@ setup(name='transaction',
test_suite
=
"transaction.tests"
,
test_suite
=
"transaction.tests"
,
tests_require
=
[
tests_require
=
[
'zope.interface'
,
'zope.interface'
,
'zope.testing'
,
],
],
install_requires
=
[
install_requires
=
[
'zope.interface'
,
'zope.interface'
,
...
...
transaction/tests/sampledm.py
View file @
f062fdf2
...
@@ -405,7 +405,7 @@ class Rollback(object):
...
@@ -405,7 +405,7 @@ class Rollback(object):
def
test_suite
():
def
test_suite
():
from
zope.testing.
doctest
import
DocTestSuite
from
doctest
import
DocTestSuite
return
DocTestSuite
()
return
DocTestSuite
()
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
...
...
transaction/tests/test_SampleDataManager.py
View file @
f062fdf2
...
@@ -405,7 +405,7 @@ class Rollback(object):
...
@@ -405,7 +405,7 @@ class Rollback(object):
def
test_suite
():
def
test_suite
():
from
zope.testing.
doctest
import
DocTestSuite
from
doctest
import
DocTestSuite
return
DocTestSuite
()
return
DocTestSuite
()
# additional_tests is for setuptools "setup.py test" support
# additional_tests is for setuptools "setup.py test" support
...
...
transaction/tests/test_register_compat.py
View file @
f062fdf2
...
@@ -148,7 +148,7 @@ class TestConnection:
...
@@ -148,7 +148,7 @@ class TestConnection:
obj
.
abort
()
obj
.
abort
()
self
.
aborted
.
append
(
obj
)
self
.
aborted
.
append
(
obj
)
from
zope.testing
import
doctest
import
doctest
def
test_suite
():
def
test_suite
():
return
doctest
.
DocTestSuite
()
return
doctest
.
DocTestSuite
()
...
...
transaction/tests/test_savepoint.py
View file @
f062fdf2
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
$Id$
$Id$
"""
"""
import
unittest
import
unittest
from
zope.testing
import
doctest
import
doctest
def
testRollbackRollsbackDataManagersThatJoinedLater
():
def
testRollbackRollsbackDataManagersThatJoinedLater
():
...
...
transaction/tests/test_transaction.py
View file @
f062fdf2
...
@@ -689,7 +689,7 @@ def test_addAfterCommitHook():
...
@@ -689,7 +689,7 @@ def test_addAfterCommitHook():
"""
"""
def
test_suite
():
def
test_suite
():
from
zope.testing.
doctest
import
DocTestSuite
,
DocFileSuite
from
doctest
import
DocTestSuite
,
DocFileSuite
return
unittest
.
TestSuite
((
return
unittest
.
TestSuite
((
DocFileSuite
(
'doom.txt'
),
DocFileSuite
(
'doom.txt'
),
DocTestSuite
(),
DocTestSuite
(),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment