mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-14 12:02:46 +02:00
7 lines
255 B
Python
7 lines
255 B
Python
|
|
def test_main_uses_the_shared_singleton():
|
||
|
|
import app.main as main
|
||
|
|
from app.api.startup_status import api_startup_status
|
||
|
|
|
||
|
|
# main must read/mutate the exact same object, not its own copy
|
||
|
|
assert main.api_startup_status is api_startup_status
|