Use universalasync library to make test.py async code compatible with synchronous code of dtest/ccm Also, copied unmodified error_example_test.py from dtest as an example. Run the test in `dev` mode only.
17 lines
426 B
Python
17 lines
426 B
Python
#
|
|
# Copyright (C) 2025-present ScyllaDB
|
|
#
|
|
# SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
|
|
#
|
|
|
|
"""
|
|
Module for defining the test environment.
|
|
|
|
This is located in tools/ so that both the main dtest.py module and the various
|
|
test modules can import from here without getting into circular import issues.
|
|
"""
|
|
|
|
import os
|
|
|
|
ALLOW_NOISY_LOGGING = os.environ.get("ALLOW_NOISY_LOGGING", "").lower() in ("yes", "true")
|