snuba icon indicating copy to clipboard operation
snuba copied to clipboard

cbrs UI test pr (meant to be used to play around, won't merge)

Open xurui-c opened this issue 6 months ago • 1 comments

Screenshot 2025-07-09 at 7 12 02 PM

xurui-c avatar Jul 10 '25 02:07 xurui-c

:x: 1 Tests Failed:

Tests completed Failed Passed Skipped
1 1 0 0
View the top 1 failed test(s) by shortest run time
::tests.query.allocation_policies.test_allocation_policy_base
Stack Traces | 0s run time
ImportError while importing test module '.../query/allocation_policies/test_allocation_policy_base.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.../local/lib/python3.11.../site-packages/_pytest/python.py:493: in importtestmodule
    mod = import_path(
.../local/lib/python3.11.../site-packages/_pytest/pathlib.py:582: in import_path
    importlib.import_module(module_name)
.../local/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
.../local/lib/python3.11.../_pytest/assertion/rewrite.py:184: in exec_module
    exec(co, module.__dict__)
.../query/allocation_policies/test_allocation_policy_base.py:8: in <module>
    from snuba.query.allocation_policies import (
E   ImportError: cannot import name 'InvalidPolicyConfig' from 'snuba.query.allocation_policies' (.../query/allocation_policies/__init__.py)

To view more test analytics, go to the Test Analytics Dashboard 📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

codecov[bot] avatar Jul 10 '25 02:07 codecov[bot]