コード例 #1
0
 def test_single_ensure_lock(self):
     singleton.ensure_lock(name)
     singleton.unlock(name)
コード例 #2
0
ファイル: test_singleton.py プロジェクト: gavrie/singleton
 def test_single_ensure_lock(self):
     singleton.ensure_lock(name)
     singleton.unlock(name)
コード例 #3
0
 def test_single_lock(self):
     singleton.lock(name)
     singleton.unlock(name)
コード例 #4
0
ファイル: test_singleton.py プロジェクト: gavrie/singleton
 def test_single_lock(self):
     singleton.lock(name)
     singleton.unlock(name)