Skip to content

Commit

Permalink
Fix coverage and (hopefully) pages
Browse files Browse the repository at this point in the history
  • Loading branch information
haukex committed Oct 18, 2024
1 parent f7eaec3 commit 76bd408
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
with:
python-version: 3.13
cache: pip
cache-dependency-path: docs/requirements.txt
cache-dependency-path: |
requirements.txt
docs/requirements.txt
- name: Install Dependencies
working-directory: ./docs
run: make installdeps
Expand Down
5 changes: 5 additions & 0 deletions tests/test_toa5.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ def test_bad_toa5(self):
with self.assertRaises(toa5.Toa5Error):
toa5.read_header(csv_rd)

dupe_cols = ( ('TOA5','sn','lm','ls','os','pn','ps','tn'),('Foo','Foo'),('',''),('','') )
with self.assertRaises(toa5.Toa5Error):
toa5.read_header(iter(dupe_cols))
toa5.read_header(iter(dupe_cols), allow_dupes=True)

def test_col_trans(self):
for tp in _exp_hdr.values():
for ch, cn, sq in tp:
Expand Down

0 comments on commit 76bd408

Please sign in to comment.