Run a test only if the server is running without auth enabled.
(self, func)
| 539 | ) |
| 540 | |
| 541 | def require_no_auth(self, func): |
| 542 | """Run a test only if the server is running without auth enabled.""" |
| 543 | return self._require( |
| 544 | lambda: not self.auth_enabled, |
| 545 | "Authentication must not be enabled on the server", |
| 546 | func=func, |
| 547 | ) |
| 548 | |
| 549 | def require_no_fips(self, func): |
| 550 | """Run a test only if the host does not have FIPS enabled.""" |