Skip to content

Instantly share code, notes, and snippets.

@felipecruz
Created August 28, 2013 21:53
Show Gist options
  • Save felipecruz/6371809 to your computer and use it in GitHub Desktop.
Save felipecruz/6371809 to your computer and use it in GitHub Desktop.
{
'longrepr':{
'sections':[
],
'reprcrash':{
'path':'/Users/felipecruz/Projects/loogica/neurotic/tests/test_report_plugin.py',
'message':'assert 0 == 1',
'lineno':9
},
'reprtraceback':{
'reprentries':[
{
'reprfuncargs':{
'args':[
]
},
'reprlocals':None,
'lines':[
' def test_pytest_report_teststatus_error():',
" '''Uma docstring na funcao de teste",
" '''",
'> assert 0 == 1',
'E assert 0 == 1'
],
'reprfileloc':{
'path':'tests/test_report_plugin.py',
'message':'AssertionError',
'lineno':9
},
'short':False
}
],
'style':'long',
'extraline':None
}
},
'when':datetime.datetime(2013,
8,
28,
18,
51,
53,
265773 ),
'nodeid':'tests/test_report_plugin.py::test_pytest_report_teststatus_error',
'duration':0.0006270408630371094,
'location':('tests/test_report_plugin.py',
5,
'test_pytest_report_teststatus_error' ),
'keywords':{
'__hash__':1,
'__module__':1,
'__reduce_ex__':1,
'__new__':1,
'test_pytest_report_teststatus_error':1,
'__reduce__':1,
'__str__':1,
'__format__':1,
'__getattribute__':1,
'__class__':1,
'neurotic':1,
'__delattr__':1,
'__subclasshook__':1,
'__repr__':1,
'__setattr__':1,
'__dict__':1,
'__sizeof__':1,
'__weakref__':1,
'__doc__':1,
'__init__':1,
'tests/test_report_plugin.py':1
},
'outcome':'failed',
'sections':[
],
'id':2
}{
'longrepr':{
'sections':[
],
'reprcrash':{
'path':'/Users/felipecruz/Projects/loogica/neurotic/tests/test_report_plugin.py',
'message':'AssertionError: 1 != 0',
'lineno':18
},
'reprtraceback':{
'reprentries':[
{
'reprfuncargs':{
'args':[
('self',
'<tests.test_report_plugin.DummyTestCase testMethod=test_assert>' )
]
},
'reprlocals':None,
'lines':[
' def test_assert(self):',
" '''docstring metodo",
" '''",
'> self.assertEquals(1, 0)',
'E AssertionError: 1 != 0'
],
'reprfileloc':{
'path':'tests/test_report_plugin.py',
'message':'AssertionError',
'lineno':18
},
'short':False
}
],
'style':'long',
'extraline':None
}
},
'when':datetime.datetime(2013,
8,
28,
18,
51,
53,
270477 ),
'nodeid':'tests/test_report_plugin.py::DummyTestCase::test_assert',
'duration':0.00022292137145996094,
'location':('tests/test_report_plugin.py',
14,
'DummyTestCase.test_assert' ),
'keywords':{
'__module__':1,
'__str__':1,
'__reduce__':1,
'__dict__':1,
'__sizeof__':1,
'__weakref__':1,
'tests/test_report_plugin.py':1,
'__init__':1,
'DummyTestCase':1,
'__setattr__':1,
'__reduce_ex__':1,
'__new__':1,
'__format__':1,
'__class__':1,
'neurotic':1,
'test_assert':1,
'__doc__':1,
'__getattribute__':1,
'__subclasshook__':1,
'__delattr__':1,
'__repr__':1,
'__hash__':1
},
'outcome':'failed',
'sections':[
],
'id':3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment