SecurityCase
This class provides a base structure for security-related test cases, ensuring that the necessary cryptographic dependencies are available before execution. It automatically skips tests if the required cryptography library is not installed in the environment.
Methods
setup_method()
@classmethod
def setup_method() - > null
Prepares the test environment by ensuring the 'cryptography' library is installed and available.
Returns
| Type | Description |
|---|---|
null | Nothing is returned; the method raises a skip exception if the dependency is missing. |