incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Bloodhound" <bloodhound-...@incubator.apache.org>
Subject Re: [Apache Bloodhound] #288: Create prototype for legacy database schema proxy
Date Wed, 23 Jan 2013 22:31:09 GMT
#288: Create prototype for legacy database schema proxy
---------------------------+-----------------------------------
  Reporter:  jure          |      Owner:  jure
      Type:  enhancement   |     Status:  closed
  Priority:  major         |  Milestone:
 Component:  multiproduct  |    Version:
Resolution:  fixed         |   Keywords:  bep-0003 multiproduct
---------------------------+-----------------------------------

Comment (by olemis):

 After running the [comment:8:ticket:355 test suite for default permission
 store] I've detected this failure :

 {{{
 #!sh

 $ /srv/venv/python/trac/0.13/bin/python setup.py test -m tests.perm
 running test
 running egg_info
 writing BloodhoundMultiProduct.egg-info/PKG-INFO
 writing top-level names to BloodhoundMultiProduct.egg-info/top_level.txt
 writing dependency_links to BloodhoundMultiProduct.egg-
 info/dependency_links.txt
 writing entry points to BloodhoundMultiProduct.egg-info/entry_points.txt
 writing BloodhoundMultiProduct.egg-info/PKG-INFO
 writing top-level names to BloodhoundMultiProduct.egg-info/top_level.txt
 writing dependency_links to BloodhoundMultiProduct.egg-
 info/dependency_links.txt
 writing entry points to BloodhoundMultiProduct.egg-info/entry_points.txt
 reading manifest file 'BloodhoundMultiProduct.egg-info/SOURCES.txt'
 writing manifest file 'BloodhoundMultiProduct.egg-info/SOURCES.txt'
 running build_ext
 test_builtin_groups (tests.perm.ProductDefaultPermissionStoreTestCase) ...
 ok
 test_env_isolation (tests.perm.ProductDefaultPermissionStoreTestCase) ...
 ERROR
 test_get_all_permissions
 (tests.perm.ProductDefaultPermissionStoreTestCase) ... ok
 test_mixed_case_group (tests.perm.ProductDefaultPermissionStoreTestCase)
 ... ok
 test_nested_groups (tests.perm.ProductDefaultPermissionStoreTestCase) ...
 ok
 test_simple_actions (tests.perm.ProductDefaultPermissionStoreTestCase) ...
 ok
 test_simple_group (tests.perm.ProductDefaultPermissionStoreTestCase) ...
 ok

 ======================================================================
 ERROR: test_env_isolation
 (tests.perm.ProductDefaultPermissionStoreTestCase)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/path/to/bloodhound/bloodhound_multiproduct/tests/perm.py", line
 63, in test_env_isolation
     ('john', 'dev')])
   File "/path/to/bloodhound/trac/trac/db/api.py", line 123, in executemany
     return db.executemany(query, params)
   File "/path/to/bloodhound/trac/trac/db/util.py", line 139, in
 executemany
     cursor.executemany(query, params)
   File
 "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py",
 line 65, in executemany
     return super(BloodhoundIterableCursor,
 self).executemany(self._translate_sql(sql), args=args)
   File "/path/to/bloodhound/trac/trac/db/util.py", line 77, in executemany
     args)
   File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 62, in
 executemany
     args)
   File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 48, in
 _rollback_on_error
     return function(self, *args, **kwargs)
 IntegrityError: columns username, action are not unique

 ----------------------------------------------------------------------
 Ran 7 tests in 0.193s

 FAILED (errors=1)

 }}}

 AFAICS the issue is related to this ticket .

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/288#comment:8>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Mime
View raw message