Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
a4ddd807c5ee
Commit
5d36df4c
authored
Aug 13, 2009
by
Sylvain Thénault
Browse files
no more supported, can remove the test
parent
87ac03aed941
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/unittest_vregistry.py
View file @
a4ddd807
...
...
@@ -40,14 +40,6 @@ class VRegistryTC(TestCase):
self
.
vreg
.
initialization_completed
()
self
.
assertEquals
(
len
(
self
.
vreg
[
'views'
][
'primary'
]),
1
)
def
test___selectors__compat
(
self
):
myselector1
=
lambda
*
args
:
1
myselector2
=
lambda
*
args
:
1
class
AnAppObject
(
AppObject
):
__selectors__
=
(
myselector1
,
myselector2
)
AnAppObject
.
build___select__
()
self
.
assertEquals
(
AnAppObject
.
__select__
(
AnAppObject
),
2
)
def
test_properties
(
self
):
self
.
failIf
(
'system.version.cubicweb'
in
self
.
vreg
[
'propertydefs'
])
self
.
failUnless
(
self
.
vreg
.
property_info
(
'system.version.cubicweb'
))
...
...
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