(self)
| 1046 | assert self.app.conf.database_engine_options == {'foo': 'bar'} |
| 1047 | |
| 1048 | def test_setting__broker_transport_options(self): |
| 1049 | |
| 1050 | _args = {'foo': 'bar', 'spam': 'baz'} |
| 1051 | |
| 1052 | self.app.config_from_object(Bunch()) |
| 1053 | assert self.app.conf.broker_transport_options == \ |
| 1054 | {'polling_interval': 0.1} |
| 1055 | |
| 1056 | self.app.config_from_object(Bunch(broker_transport_options=_args)) |
| 1057 | assert self.app.conf.broker_transport_options == _args |
| 1058 | |
| 1059 | def test_Windows_log_color_disabled(self): |
| 1060 | self.app.IS_WINDOWS = True |
nothing calls this directly
no test coverage detected