1RESOURCE_LOCK 2------------- 3 4Specify a list of resources that are locked by this test. 5 6If multiple tests specify the same resource lock, they are guaranteed 7not to run concurrently. 8 9See also :prop_test:`FIXTURES_REQUIRED` if the resource requires any setup or 10cleanup steps. 11 12Both the :prop_test:`RESOURCE_GROUPS` and ``RESOURCE_LOCK`` properties serve 13similar purposes, but they are distinct and orthogonal. Resources specified by 14:prop_test:`RESOURCE_GROUPS` do not affect ``RESOURCE_LOCK``, and vice versa. 15Whereas ``RESOURCE_LOCK`` is a simpler property that is used for locking one 16global resource, :prop_test:`RESOURCE_GROUPS` is a more advanced property 17that allows multiple tests to simultaneously use multiple resources of the 18same type, specifying their requirements in a fine-grained manner. 19