tests: Run with oxrlib's decimal context.

This commit is contained in:
Brett Smith 2017-12-31 10:04:37 -05:00
parent 3b732505fa
commit a3cc41a5cf

View file

@ -1,10 +1,15 @@
import datetime
import decimal
import io
import pathlib
import random
import pytest
from oxrlib import __main__ as oxrmain
decimal.setcontext(oxrmain.decimal_context())
TEST_DIR = pathlib.Path(__file__).parent
class StringIO(io.StringIO):