Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F60882215
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
Fri, May 3, 03:36
Size
279 B
Mime Type
text/x-python
Expires
Sun, May 5, 03:36 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17362881
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