fix issues
This commit is contained in:
parent
e88a8f8f12
commit
3916408614
@ -18,7 +18,7 @@ send_metrics = False
|
|||||||
if "DATADOG_API_KEY" in os.environ and "DATADOG_APP_KEY" in os.environ:
|
if "DATADOG_API_KEY" in os.environ and "DATADOG_APP_KEY" in os.environ:
|
||||||
initialize()
|
initialize()
|
||||||
send_metrics = True
|
send_metrics = True
|
||||||
api.Event.create(title="Backend start", text="", tags=["server:backend", f"host:{os.environ['HOST']}"], alert_type="info"))
|
api.Event.create(title="Backend start", text="", tags=["server:backend", f"host:{os.environ['HOST']}"], alert_type="info")
|
||||||
else:
|
else:
|
||||||
print("Datadog not configured")
|
print("Datadog not configured")
|
||||||
|
|
||||||
|
@ -479,7 +479,7 @@ def test_saloon():
|
|||||||
assert p.lives == p.max_lives
|
assert p.lives == p.max_lives
|
||||||
|
|
||||||
# test WellsFargo
|
# test WellsFargo
|
||||||
def test_diligenza():
|
def test_wells_fargo():
|
||||||
sio = DummySocket()
|
sio = DummySocket()
|
||||||
g = Game('test', sio)
|
g = Game('test', sio)
|
||||||
ps = [Player(f'p{i}', f'p{i}', sio) for i in range(4)]
|
ps = [Player(f'p{i}', f'p{i}', sio) for i in range(4)]
|
||||||
|
Loading…
Reference in New Issue
Block a user