Skip to content

Commit bb801a2

Browse files
committed
testing more code
1 parent c392c15 commit bb801a2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.coveragerc

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ exclude_lines =
1515
# Don't complain if tests don't hit defensive assertion code:
1616
raise AssertionError
1717
raise NotImplementedError
18+
raise AttributeError
19+
raise KeyError
20+
raise FileNotFoundError
1821

1922
# Don't complain if non-runnable code isn't run:
2023
if 0:

margot/tests/test_data.py

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class VXBasis(MargotDataFrame):
4444
vx_basis = Ratio(numerator=vixm.adjusted_close, denominator=vix3m.adjusted_close, label='vx_basis_ratio')
4545

4646
vxbasis = VXBasis()
47+
vxbasis.to_pandas()
4748

4849
assert(
4950
vxbasis.vix3m.to_pandas().tail()[

0 commit comments

Comments
 (0)