Skip to content

Commit

Permalink
make these tests independent of local config
Browse files Browse the repository at this point in the history
  • Loading branch information
bdcht committed Mar 11, 2024
1 parent fc91e1d commit f4081db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_cas_exp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tests/test_cas_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f4081db

Please sign in to comment.