From f4081db7404b07c5b793ab609004a60a1b23fda0 Mon Sep 17 00:00:00 2001 From: Axel Tillequin Date: Mon, 11 Mar 2024 12:01:39 +0100 Subject: [PATCH] make these tests independent of local config --- tests/test_cas_exp.py | 2 ++ tests/test_cas_mapper.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/test_cas_exp.py b/tests/test_cas_exp.py index 9cfb12d..6cd2857 100644 --- a/tests/test_cas_exp.py +++ b/tests/test_cas_exp.py @@ -2,6 +2,8 @@ import pickle from amoco.cas.expressions import * +conf.Cas.complexity = 0 + def test_cst(): c = cst(253,8) assert c == 0xfd diff --git a/tests/test_cas_mapper.py b/tests/test_cas_mapper.py index ae119d0..a427a16 100644 --- a/tests/test_cas_mapper.py +++ b/tests/test_cas_mapper.py @@ -2,6 +2,8 @@ from amoco.cas.mapper import * +conf.Cas.complexity = 0 + def test_slicing(m,x,y): m.clear() m[x] = cst(0xabcdef89,32)