Upload tests/test_lint.py
Browse files- tests/test_lint.py +1 -1
tests/test_lint.py
CHANGED
|
@@ -61,7 +61,7 @@ class TestLint:
|
|
| 61 |
expr = "ts_decay_linear(rank(close), 50)"
|
| 62 |
result = lint(expr)
|
| 63 |
assert result.passed # warning, not error
|
| 64 |
-
assert any("
|
| 65 |
|
| 66 |
|
| 67 |
class TestDedup:
|
|
|
|
| 61 |
expr = "ts_decay_linear(rank(close), 50)"
|
| 62 |
result = lint(expr)
|
| 63 |
assert result.passed # warning, not error
|
| 64 |
+
assert any("is high" in w for w in result.warnings), f"Warnings: {result.warnings}"
|
| 65 |
|
| 66 |
|
| 67 |
class TestDedup:
|