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

Opened 12 years ago

Closed 12 years ago

Webadmin password change

Reported by: atarkowska Owned by: atarkowska
Priority: critical Milestone: OMERO-4.4
Component: WebAdmin Version: n.a.
Keywords: n.a. Cc: wmoore, cxallan
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-06-05 (16)

Description

It is important to test the password change for in webadmin with the new decorator infrastructure.

Change History (9)

comment:1 Changed 12 years ago by atarkowska

  • Cc wmoore cxallan added
  • Component changed from General to WebAdmin
  • Priority changed from minor to critical

comment:2 Changed 12 years ago by wmoore

jrs-macbookpro-25107:OMERO will$ omero web unittest --test=webadmin.WebAdminTest.test_changePassword --config=/Users/will/Desktop/OMERO/etc/ice.config 
Creating test database for alias 'default'...
E
======================================================================
ERROR: test_changePassword (omeroweb.webadmin.tests.unittests.WebAdminTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/will/Desktop/OMERO/dist/lib/python/omeroweb/webadmin/tests/webadmin_test_library.py", line 42, in setUp
    blitz = Server.find(server_host=omero_host)
TypeError: find() got an unexpected keyword argument 'server_host'

----------------------------------------------------------------------
Ran 1 test in 0.020s

FAILED (errors=1)
Destroying test database for alias 'default'...

After editing the offending line above, to blitz = Server.find(host=omero_host) we now get a different error...

jrs-macbookpro-25107:OMERO will$ omero web unittest --test=webadmin.WebAdminTest.test_changePassword --config=/Users/will/Desktop/OMERO/etc/ice.config 
Creating test database for alias 'default'...
E
======================================================================
ERROR: test_changePassword (omeroweb.webadmin.tests.unittests.WebAdminTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/will/Desktop/OMERO/dist/lib/python/omeroweb/webadmin/tests/webadmin_test_library.py", line 52, in setUp
    self.server_id = blitz.id
AttributeError: 'list' object has no attribute 'id'

----------------------------------------------------------------------
Ran 1 test in 0.039s

FAILED (errors=1)
Destroying test database for alias 'default'...

comment:3 Changed 12 years ago by atarkowska

  • Sprint changed from 2012-03-27 (11) to 2012-04-10 (12)

comment:4 Changed 12 years ago by jburel

  • Sprint changed from 2012-04-10 (12) to 2012-04-24 (13)

Moved from sprint 2012-04-10 (12)

comment:5 Changed 12 years ago by jburel

  • Sprint changed from 2012-04-24 (13) to 2012-05-08 (14)

Moved from sprint 2012-04-24 (13)

comment:6 Changed 12 years ago by jburel

  • Sprint changed from 2012-05-08 (14) to 2012-05-22 (15)

Moved from sprint 2012-05-08 (14)

comment:7 Changed 12 years ago by jburel

  • Sprint changed from 2012-05-22 (15) to 2012-06-05 (16)

Moved from sprint 2012-05-22 (15)

comment:8 Changed 12 years ago by atarkowska

  • Status changed from new to accepted

comment:9 Changed 12 years ago by atarkowska

  • Remaining Time changed from 0.2 to 0
  • Resolution set to duplicate
  • Status changed from accepted to closed

fixed in #8539

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

We're Hiring!