Skip to content

Commit

Permalink
fix tests, again
Browse files Browse the repository at this point in the history
  • Loading branch information
sbailey committed Sep 12, 2024
1 parent 13d9103 commit 504ba15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions py/desidatamodel/test/t/column_descriptions.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Name,Type,Units,FullDescription,Description
Name,Type,Units,Description,FullDescription
target,char[20],,Target Name,Target Name
V_mag,float32,nanomaggy,V-band nanomaggy to test units,V-band flux
vdisp,float64,m/s,Velocity dispersion,Vel Disp
V_mag,float32,nanomaggy,V-band flux,V-band nanomaggy to test units
vdisp,float64,m/s,Vel Disp,Velocity dispersion
2 changes: 1 addition & 1 deletion py/desidatamodel/test/test_stub.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ def test_Stub_with_descriptions(self, mock_log):
# incorrect format column description file
baddescfile = self.test_files / 'bad_column_descriptions.csv'
header = 'Name,dtype,Units,Description'
correct_header = 'Name,Type,Units,FullDescription,Description'
correct_header = 'Name,Type,Units,Description,FullDescription'
with self.assertRaises(ValueError) as exc:
stub = Stub(filename, description_file=baddescfile)
lines = str(stub)
Expand Down

0 comments on commit 504ba15

Please sign in to comment.