It is because of this condition in setUp() is always true: https://github.com/openstack/zaqar/blob/master/zaqar/tests/functional/wsgi/v1_1/test_queues.py#L324
And so it skips the test.
Note: "self.cfg" is an instance of oslo_config.ConfigOpts class with "zaqar/tests/etc/functional-tests.conf" config file parsed.
For me it seems like this code("self.cfg.version") was intended to get "version" option value from "functional-tests.conf" config file.
But "functional-tests.conf" doesn't contain this option.
You may ask, why in this case "oslo_config.cfg.NoSuchOptError" exception is not raised?
Well, it is because ConfigOpts object has public variable "version".
And "self.cfg.version" just returns this public variable which is "None" in our case.
ConfigOpts doesn't even lookup for the config file option called "version".
Possible solution:
Get rid of the condition in setUp() which skips the tests.
Then fix tests.
Currently all tests are skipped in zaqar.tests. functional. wsgi.v1_ 1.test_ queues. TestQueueNonExi sting class. paste.openstack .org/show/ RqLlOyjgdw8fciV T7LlJ/
Log example of skipped test: http://
It is because of this condition in setUp() is always true: /github. com/openstack/ zaqar/blob/ master/ zaqar/tests/ functional/ wsgi/v1_ 1/test_ queues. py#L324 ConfigOpts class with "zaqar/ tests/etc/ functional- tests.conf" config file parsed. cfg.version" ) was intended to get "version" option value from "functional- tests.conf" config file. tests.conf" doesn't contain this option.
https:/
And so it skips the test.
Note: "self.cfg" is an instance of oslo_config.
For me it seems like this code("self.
But "functional-
You may ask, why in this case "oslo_config. cfg.NoSuchOptEr ror" exception is not raised?
Well, it is because ConfigOpts object has public variable "version".
And "self.cfg.version" just returns this public variable which is "None" in our case.
ConfigOpts doesn't even lookup for the config file option called "version".
Possible solution:
Get rid of the condition in setUp() which skips the tests.
Then fix tests.