fix: improve maintenance and synchronize live conversations
This commit is contained in:
1 parent
bb541bd212
commit
ef86a5d3af
297 files changed
+2983
-1274
No files matched your search
@@ -15,9 +15,8 @@ limitations under the License.
|
||||
"""
|
||||
|
||||
import pytest
|
||||
from app.models.customer import Customer
|
||||
from app.repositories.customer import CustomerRepository
|
||||
from uuid import UUID, uuid4
|
||||
from uuid import uuid4
|
||||
|
||||
@pytest.fixture
|
||||
def customer_repo(db):
|
||||
@@ -446,7 +445,6 @@ class TestPhoneIdentityHazards:
|
||||
|
||||
# Simulate losing the race: our lookup saw nothing, the insert collides.
|
||||
calls = {"n": 0}
|
||||
real_create = customer_repo.create_customer
|
||||
|
||||
def racing_create(*args, **kwargs):
|
||||
calls["n"] += 1
|
||||
|
||||
Reference in new issue
Block a user