Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
pygobject
Commits
9ee9b22b
Commit
9ee9b22b
authored
Aug 13, 2011
by
John (J5) Palmieri
Browse files
add test for object arrays
parent
c9d9ffd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_everything.py
View file @
9ee9b22b
...
...
@@ -466,3 +466,9 @@ class TestTortureProfile(unittest.TestCase):
print
(
"
\t
===="
)
print
(
"
\t
Total: %f sec"
%
total_time
)
class
TestAdvancedInterfaces
(
unittest
.
TestCase
):
def
test_array_objs
(
self
):
obj1
,
obj2
=
Everything
.
test_array_fixed_out_objects
()
self
.
assertTrue
(
isinstance
(
obj1
,
Everything
.
TestObj
))
self
.
assertTrue
(
isinstance
(
obj2
,
Everything
.
TestObj
))
self
.
assertNotEqual
(
obj1
,
obj2
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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