Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #7202 (closed)

Opened 12 years ago

Closed 9 years ago

OMERO.py.gateway test review

Reported by: atarkowska Owned by: cneves
Priority: major Milestone: 5.1.1
Component: OmeroPy Version: 5.1.0
Keywords: n.a. Cc: wmoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by atarkowska)

Due to high number of changes across the entire python framework there is a need to review existing tests, add new, adjust existings to fully cover existing functionality.

Change History (12)

comment:1 Changed 12 years ago by atarkowska

  • Description modified (diff)

comment:2 Changed 12 years ago by cneves

Merging https://github.com/cneves/openmicroscopy/tree/postdecorators/7202_unittest_review on top of current develop fixes many of the failing tests (but does nothing to extend coverage yet). Specifically:


Last edited 12 years ago by cneves (previous) (diff)

comment:3 Changed 12 years ago by cneves

======================================================================
FAIL: testCreateHistory (test.gatewaytest.multi_group.HistoryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/weblitz/GlencoeSoftware.git/git/omero.git/components/tools/OmeroPy/test/gatewaytest/multi_group.py", line 88, in testCreateHistory
    self.searchHistory(start, end)
  File "/data/weblitz/GlencoeSoftware.git/git/omero.git/components/tools/OmeroPy/test/gatewaytest/multi_group.py", line 53, in searchHistory
    self.assertEqual(logCount, dataCount, "Logs count should match number of objects")
AssertionError: Logs count should match number of objects

This was supposed to be fixed by #8580, but apparently the group filter isn't applied in this particular code path.

comment:5 Changed 12 years ago by Carlos Neves <carlos@…>

(In [2b511a972a59f56767e1121360fa04eed4dab7ca/ome.git] on branch develop) Fixes for gateway user test (see #7202)

comment:6 Changed 12 years ago by Carlos Neves <carlos@…>

(In [c4caac2999d57f35a1ab2add98bc98ecdb8f785e/ome.git] on branch develop) Fixes for gateway rdefs test (see #7202)

comment:7 Changed 12 years ago by Carlos Neves <carlos@…>

(In [e25f18332e9f5103bdb08fe900e7df00f87aaf04/ome.git] on branch develop) Fixes for gateway get_objects test (see #7202)

comment:8 Changed 12 years ago by Carlos Neves <carlos@…>

(In [5e45a3929aa52338b547b74385bc28b30d33e294/ome.git] on branch develop) Fixes for gateway chmod test (see #7202)

comment:9 Changed 12 years ago by Carlos Neves <carlos@…>

(In [10abcbc5555aa48d5845798e9fe6e033a6e5ac79/ome.git] on branch develop) Fixes for gateway rdefs test (see #7202)

comment:10 Changed 12 years ago by Carlos Neves <carlos@…>

(In [1c8bdb43ed9932c58ec13c9bfb57eb29f4566e78/ome.git] on branch develop) Fixes for gateway services test (see #7202)

comment:11 Changed 12 years ago by Carlos Neves <carlos@…>

(In [cdf9de3f6883ee597dbde2b424e5075ce38d1899/ome.git] on branch develop) Fixes for gateway chmod test (see #7202)

comment:12 Changed 9 years ago by jamoore

  • Milestone changed from Unscheduled to 5.1.1
  • Resolution set to fixed
  • Status changed from new to closed
  • Version set to 5.1.0

Considering this done with our recent testing/examples focus.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.64355 sec.)

We're Hiring!