Skip to content

Instantly share code, notes, and snippets.

@schmichael
Created June 11, 2012 20:17
Show Gist options
  • Save schmichael/2912398 to your computer and use it in GitHub Desktop.
Save schmichael/2912398 to your computer and use it in GitHub Desktop.
(palm)(git:fix-repeated-codegen) ~/src/palm$ nosetests test/test.py
.............EE......................................
======================================================================
ERROR: test.TestProto.test_enum
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/schmichael/src/palm/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/schmichael/src/palm/test/test.py", line 225, in test_enum
o.cls = test_palm.Test.BUSINESS
AttributeError: type object 'Test' has no attribute 'BUSINESS'
======================================================================
ERROR: test.TestProto.test_enum_repeated
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/schmichael/src/palm/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/schmichael/src/palm/test/test.py", line 232, in test_enum_repeated
o.r_cls.extend([o.FIRST, o.BUSINESS])
AttributeError: 'Test' object has no attribute 'FIRST'
----------------------------------------------------------------------
Ran 53 tests in 0.175s
FAILED (errors=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment