From 6e10548f20f91f8c6f53a7afbbcfb0e361d98cd8 Mon Sep 17 00:00:00 2001 From: Steve Canny Date: Tue, 6 Nov 2018 11:31:11 -0800 Subject: [PATCH] test: scrub overall test coverage * Add `make unit-coverage` task to Makefile that shows our unit test coverage is pretty spotty, indicating an over-reliance on integration tests (which do not test fine-grained behaviors). --- tests/fixtures/scale_means/__init__.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 tests/fixtures/scale_means/__init__.py diff --git a/tests/fixtures/scale_means/__init__.py b/tests/fixtures/scale_means/__init__.py deleted file mode 100644 index f0ffedf3d..000000000 --- a/tests/fixtures/scale_means/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -import os -from functools import partial - -from cr.cube.util import load_fixture - -CUBES_DIR = os.path.dirname(os.path.abspath(__file__)) - - -def _load(cube_file): - load = partial(load_fixture, CUBES_DIR) - return load(cube_file) - - -CA_CAT_X_ITEMS = _load('ca-cat-x-items.json') -CA_ITEMS_X_CAT = _load('ca-items-x-cat.json') -CA_X_MR = _load('ca-x-mr.json') -CAT_X_CA_CAT_X_ITEMS = _load('cat-x-ca-cat-x-items.json') -CAT_X_CAT = _load('cat-x-cat.json') -CAT_X_MR = _load('cat-x-mr.json') -MR_X_CAT = _load('mr-x-cat.json') -UNIVARIATE_CAT = _load('univariate-cat.json') -CAT_X_CAT_SM_MARGIN = _load('cat-x-cat-sm-margin.json')