Skip to content

Commit

Permalink
BUG/TST: latin1 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wasade committed Jun 28, 2023
1 parent 1900459 commit 058a4e8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions redbiom/tests/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,14 @@ def test_load_sample_metadata_content_type_sample_id_bug(self):
self.assertIn(cur + '.raw', obs)

def test_load_sample_metadata_full_search(self):
redbiom.admin.load_sample_metadata(metadata)
redbiom.admin.load_sample_metadata_full_search(metadata)
md = metadata.copy()

# valid portion of a name in Czech Republic, but which does not encode
# in python's http client
md.iloc[0]['STATE'] = "Vysočina"

redbiom.admin.load_sample_metadata(md)
redbiom.admin.load_sample_metadata_full_search(md)
tests = [('agp-skin', {'10317.000003302', }),

# an example of a misleading query. only those AG samples
Expand Down

0 comments on commit 058a4e8

Please sign in to comment.