forked from lix-project/lix
jade
3caf3e1e08
I am tired of bad shell scripts, let me write bad python quickly
instead. It's definitely, $100%, better.
This is not planned as an immediate replacement of the old test suite,
but we::jade would not oppose tests getting ported.
What is here is a mere starting point and there is a lot more
functionality that we need.
Fixes: lix-project/lix#488
Change-Id: If762efce69030bb667491b263b874c36024bf7b6
5 lines
113 B
Python
5 lines
113 B
Python
from .testlib.fixtures import Nix
|
|
|
|
def test_trivial_addition(nix: Nix):
|
|
assert nix.eval('1 + 1').json() == 2
|