Skip to content

Commit

Permalink
Fix remote XML test
Browse files Browse the repository at this point in the history
  • Loading branch information
dharvey-consbio committed Mar 29, 2018
1 parent 1925844 commit 3b6abbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parserutils/tests/element_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,12 @@ def test_get_remote_element(self):
get_remote_element(file_path, 'c'), 'Remote element returns None for namespaces at "c"'
)

remote_url = 'http://en.wikipedia.org/wiki/XML'
remote_url = 'https://www.w3schools.com/xml/note.xml'
self.assertIsNotNone(
get_remote_element(remote_url), 'Remote element returns None for url'
)
self.assertIsNotNone(
get_remote_element(remote_url, 'head'), 'Remote element returns None for "head"'
get_remote_element(remote_url, 'body'), 'Remote element returns None for "body"'
)

def test_get_elements(self):
Expand Down

0 comments on commit 3b6abbf

Please sign in to comment.