Run a test only if the host does not have FIPS enabled.
(self, func)
| 547 | ) |
| 548 | |
| 549 | def require_no_fips(self, func): |
| 550 | """Run a test only if the host does not have FIPS enabled.""" |
| 551 | return self._require( |
| 552 | lambda: not self.fips_enabled, "Test cannot run on a FIPS-enabled host", func=func |
| 553 | ) |
| 554 | |
| 555 | def require_replica_set(self, func: Any) -> Any: |
| 556 | """Run a test only if the client is connected to a replica set.""" |