Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F60074965
test.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Apr 27, 07:23
Size
279 B
Mime Type
text/x-python
Expires
Mon, Apr 29, 07:23 (2 d)
Engine
blob
Format
Raw Data
Handle
17030908
Attached To
rPHTEST test
test.py
View Options
#!/usr/bin/env python2
import
unittest
,
pytest
import
python
as
p
class
Test
(
unittest
.
TestCase
):
def
test_return
(
self
):
self
.
assertTrue
(
p
.
myfunc
()
==
'test'
)
self
.
assertTrue
(
p
.
myfunc
()
!=
'test'
)
if
__name__
==
'__main__'
:
pytest
.
main
([
'./test.py'
,
'--tap-stream'
])
Event Timeline
Log In to Comment