eland/eland/conftest.py
Stephen Dodson d92ed94ef0 Improve to_string/to_html/__repr__/_repr_html_ tests
Added more rigorious tests for string representation
and fixing issue with to_html.
2019-11-18 12:55:23 +00:00

18 lines
402 B
Python

import pytest
import numpy as np
import pandas as pd
import eland as ed
# Fix console size for consistent test results
pd.set_option('display.max_rows', 10)
pd.set_option('display.max_columns', 5)
pd.set_option('display.width', 100)
@pytest.fixture(autouse=True)
def add_imports(doctest_namespace):
doctest_namespace["np"] = np
doctest_namespace["pd"] = pd
doctest_namespace["ed"] = ed