Skip to content

Commit

Permalink
reenabled scrape tests
Browse files Browse the repository at this point in the history
  • Loading branch information
emcf committed Sep 5, 2024
1 parent 8418a31 commit dbe0cb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def read_git_requirements(file):

setup(
name='thepipe_api',
version='1.3.0',
version='1.3.2',
author='Emmett McFarlane',
author_email='[email protected]',
description='AI-native extractor, powered by multimodal LLMs.',
Expand Down
4 changes: 2 additions & 2 deletions tests/test_scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_scrape_html(self):
self.assertTrue(any('some **bold text** and some *italic text*' in chunk.texts[0] for chunk in chunks))
# ensure javascript was not scraped
self.assertFalse(any('function highlightText()' in chunk.texts[0] for chunk in chunks))
"""

def test_scrape_zip(self):
chunks = scraper.scrape_file(self.files_directory+"/example.zip", verbose=True, local=True)
# verify it scraped the zip file into chunks
Expand Down Expand Up @@ -201,4 +201,4 @@ def test_scrape_directory_text_only(self):
for chunk in chunks:
self.assertEqual(type(chunk), core.Chunk)
self.assertEqual(len(chunk.images), 0)
self.assertIsNotNone(chunk.path)"""
self.assertIsNotNone(chunk.path)

0 comments on commit dbe0cb7

Please sign in to comment.