2021-06-07 07:10:18 -07:00
|
|
|
from .context import mango
|
|
|
|
|
|
|
|
|
|
|
|
# There isn't really a lot to test here that isn't just duplication so instead there are just
|
|
|
|
# a couple of checks to make sure things have loaded properly.
|
|
|
|
|
|
|
|
|
|
|
|
def test_system_program_address():
|
|
|
|
assert str(mango.SYSTEM_PROGRAM_ADDRESS) == "11111111111111111111111111111111"
|
|
|
|
|
|
|
|
|
|
|
|
def test_mango_constants():
|
2021-06-25 02:33:40 -07:00
|
|
|
mango_groups = mango.MangoConstants["groups"]
|
|
|
|
assert mango_groups is not None
|
|
|
|
assert len(mango_groups) > 0
|