def test_proc1_2(self, db_cur, queries_file): sql = Queries(queries_file) output = sql.INVENTORY_CHECK(db_cur, (1, 1), n=4) assert output == [(1, ), (2, ), (3, ), (4, )] or [(4, ), (3, ), (2, ), (1, )]
def test_proc1_1(self, db_cur, queries_file): sql = Queries(queries_file) output = sql.INVENTORY_CHECK(db_cur, (1, 1), n=1) assert output == (1, ) or (4, )