Skip to content

Commit

Permalink
made url extraction test conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
emcf committed May 7, 2024
1 parent e134a4e commit fc09c69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_thepipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ def test_should_ignore(self):
# test cases that should not be ignored
self.assertFalse(extractor.should_ignore(self.files_directory+"/example.md", ignore=None))

@unittest.skipUnless(os.environ.get('TEST_WEB'), "requires TEST_WEB")
def test_extract_url(self):
# test web page extraction
chunks = extractor.extract_url('https://en.wikipedia.org/wiki/Piping')
Expand Down

0 comments on commit fc09c69

Please sign in to comment.