from common.src import aws class TestSession: _class = aws.Session def test_session_is_singleton(self): """Test that the session is a singleton by creating two instances and confirming that they are the same object. """ session1 = self._class() session2 = self._class() assert session1 is session2