Task #10613 (closed)
Bug: Fileset tests for Blitz Gateway
Reported by: | wmoore | Owned by: | wmoore |
---|---|---|---|
Priority: | major | Milestone: | OMERO-4.4.7 |
Component: | OmeroPy | Version: | n.a. |
Keywords: | n.a. | Cc: | python-team@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | 2013-04-09 (7)) |
Description
From Josh:
Any model changes don't show up as failing in ./build.py test-fs. I've copied out the queries and put them in test/integration/repository.py for the moment to just be sure. But things like: fs.copyImageLinks() don't show up.
Change History (7)
comment:1 Changed 11 years ago by wmoore
comment:2 Changed 11 years ago by wmoore
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 11 years ago by wmoore
After adding fs.py to gatewaytest/suite.py...
jrs-macbookpro-25107:test will$ python gatewaytest/suite.py .... runTest (gatewaytest.z_db_cleanup.TDTest) ... **ok testFileset (gatewaytest.fs.FilesetTest) ... ... ok ---------------------------------------------------------------------- Ran 69 tests in 265.681s OK
comment:4 Changed 11 years ago by wmoore
After adding fs.py to integration/fs_suite.py...
jrs-macbookpro-25107:test will$ python integration/fs_suite.py Running tests... ---------------------------------------------------------------------- ... testFileset (gatewaytest.fs.FilesetTest) ... OK (1.646s) ... ====================================================================== FAIL [1.646s]: testDirPrivateGroup (integration.repository.TestManagedRepositoryMultiUser) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/test/integration/repository.py", line 342, in testDirPrivateGroup f2.repo.listFiles, dirname) AssertionError: SecurityViolation not raised ---------------------------------------------------------------------- Ran 48 tests in 22.922s FAILED (failures=1, errors=4)
comment:5 Changed 11 years ago by jamoore
testDirPrivateGroup has been fixed in one of my other branches.
comment:6 Changed 11 years ago by Will Moore <will@…>
(In [fa5dba82ed030b559dd65050d272b2bfa532c90e/ome.git] on branch develop) Basic test of Blitz fileset methods. See #10613
comment:7 Changed 11 years ago by Josh Moore <josh@…>
(In [b7e91c605bf72bb1d97234fc6ab37496ab199f60/ome.git] on branch develop) Merge pull request #961 from will-moore/fileset_tests_10613
Basic test of Blitz fileset methods. See #10613
Running this gatewaytest when on branch develop (with server & DB built with scc develop/latest) I get