Had to place export on the same line as py.test