swift/test/unit/account
Vladimir Vechkanov bc08215f83 Move replication allow method to decorators
Remove logic of allowed methods list from object, container and account
servers. Instead of it add replicator decorator to utils and use new
decorator for REPLICATE methods in object/account/container servers.
This decorator mark method as special for usfor use only by the
replication.

If the option replication_server is not used, then this mechanism is not
enabled. If the replicaton_server option is set (not None) then the
respective server is a replicator (option value is True) and should use
ONLY the methods marked for replication server using the decorator, or
it is a normal server type and should NOT use methods marked for the
replication server.

Change-Id: I1041b31413cd0c39000317cc57a8c27816e1dfe8
2013-07-12 11:38:17 +04:00
..
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
test_auditor.py updated copyright date for all files 2012-03-19 13:45:34 -05:00
test_reaper.py account-reaper warns if not making progress 2013-05-22 15:07:17 +01:00
test_replicator.py updated copyright date for all files 2012-03-19 13:45:34 -05:00
test_server.py Move replication allow method to decorators 2013-07-12 11:38:17 +04:00