• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mgedmin / zodbbrowser / 12
100%

Build:
DEFAULT BRANCH: master
Ran 08 Apr 2014 08:01AM UTC
Jobs 2
Files 22
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
12

push

travis-ci

mgedmin
Fix nondeterminism in testLocate

I've seem failures like

    Failure in test testLocate (zodbbrowser.tests.test_browser.TestZodbInfoViewWithRealDb)
    Traceback (most recent call last):
      Module unittest, line 279, in run
        testMethod()
      Module zodbbrowser.tests.test_browser, line 216, in testLocate
        "partial_oid": 1})
      Module unittest, line 350, in failUnlessEqual
        (msg or '%r != %r' % (first, second))
    AssertionError: {u'error': u'Not found: /stub/nonexistent', u'partial_oid': 2, u'partial_url': u'@@zodbbrowser?oid=0x2', u'partial_path': u'/stub'} != {'error': 'Not found: /stub/nonexistent', 'partial_oid': 1, 'partial_url': '@@zodbbrowser?oid=0x1', 'partial_path': '/stub'}

I suspect these happens because I'm adding three persistent objects to
the DB in a single transaction, and the order of OID allocation might
depend on dictionary iteration order, which is not constant.

Calling connection.add() on the /stub object should force its OID to be
0x1, which is what the test expects.

2173 of 2444 relevant lines covered (88.91%)

1.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12.1 08 Apr 2014 08:03AM UTC 0
88.91
Travis Job 12.1
2 12.2 08 Apr 2014 08:01AM UTC 0
88.87
Travis Job 12.2
Source Files on build 12
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #12
  • ada78cd3 on github
  • Prev Build on master (#11)
  • Next Build on master (#13)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc