(self)
| 1070 | |
| 1071 | @pytest.mark.usefixtures('depends_on_current_app') |
| 1072 | def test_AsyncResult(self): |
| 1073 | x = self.app.AsyncResult('1') |
| 1074 | assert x.app is self.app |
| 1075 | r = loads(dumps(x)) |
| 1076 | # not set as current, so ends up as default app after reduce |
| 1077 | assert r.app is current_app._get_current_object() |
| 1078 | |
| 1079 | def test_get_active_apps(self): |
| 1080 | assert list(_state._get_active_apps()) |
nothing calls this directly
no test coverage detected