Exemple #1
0
 def lock_file_name(self):
     return get_lock_file('{}.lck'.format(self._name))
Exemple #2
0
 def lock_file_name(self):
     return get_lock_file('{}.lck'.format(self._name))
Exemple #3
0
def inter_process_locked(name):
    return process_lock.interprocess_locked(get_lock_file(name))
Exemple #4
0
 def test_get_lock_file(self):
     name = get_lock_file('a.lock')
     assert_that(name, contains_string('.storops'))
     assert_that(name, contains_string('a.lock'))
Exemple #5
0
 def test_get_lock_file(self):
     name = get_lock_file('a.lock')
     assert_that(name, contains_string('.storops'))
     assert_that(name, contains_string('a.lock'))