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 #6039 (closed)

Opened 13 years ago

Closed 13 years ago

Bug: Failing gatewaytest testSaveAs

Reported by: wmoore Owned by: cblackburn
Priority: major Milestone: OMERO-Beta4.3.2
Component: OmeroPy Version: n.a.
Keywords: n.a. Cc: cneves
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-09-15 (5)

Description

Turning test back on

wjm:OmeroPy will$ python test/gatewaytest/user.py UserTest.testSaveAs
loginAsAuthor
loginAsAdmin
E
======================================================================
ERROR: testSaveAs (__main__.UserTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/gatewaytest/user.py", line 33, in testSaveAs
    image = self.getTestImage()
  File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/build/lib/omero/gateway/scripts/testdb_create.py", line 111, in getTestImage
    return dbhelpers.getImage(self.gateway, 'testimg1', dataset)
  File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 383, in getImage
    return IMAGES[alias].get(client, forceds)
  File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 278, in get
    dataset = DATASETS[self.dataset].get(client)
  File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 238, in get
    for d in project.listChildren():
AttributeError: 'NoneType' object has no attribute 'listChildren'

----------------------------------------------------------------------
Ran 1 test in 6.038s

FAILED (errors=1)

Change History (9)

comment:1 Changed 13 years ago by Will Moore <will@…>

(In [c3d42be8b475d171242220fbc64d74ac0655d385/ome.git] on branch develop) Turning back on gatewaytests. See #6037, #6038, #6039

comment:2 Changed 13 years ago by jburel

Referencing ticket #4329 has changed sprint.

comment:3 Changed 13 years ago by jburel

  • Milestone changed from OMERO-Beta4.3.1 to OMERO-Beta4.3.2

comment:4 Changed 13 years ago by jmoore

  • Cc cneves-x added
  • Owner cneves-x deleted

Taking away from Carlos so someone else can pick up.

comment:5 Changed 13 years ago by cblackburn

  • Owner set to cblackburn

comment:6 Changed 13 years ago by cblackburn

  • Remaining Time set to 0.5
  • Sprint set to 2011-09-01 (4)
  • Status changed from new to accepted

comment:7 Changed 13 years ago by jburel

  • Sprint changed from 2011-09-01 (4) to 2011-09-15 (5)

Moved from sprint 2011-09-01 (4)

comment:8 Changed 13 years ago by Colin Blackburn <C.Blackburn@…>

(In [3b279564906852a6a8a8b72fa9230559ff06536c/ome.git] on branch develop) Changed login pattern to check for annotations. See #6039

comment:9 Changed 13 years ago by cblackburn

  • Remaining Time changed from 0.5 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

This is now passing locally and I think it is testing the appropriate functionality. In passing, if the final delete fails then subsequent runs of the test will fail until the db is cleaned. There may be a better way of writing this test.

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.76762 sec.)

We're Hiring!