mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-07-30 12:22:52 +00:00

* build: Remove mmh3 dependency * resolve circular import * pylint * make mmh3.py sibling of schema.py * pylint import order * pylint * undo example changes * increase coverage in modeling module * increase coverage further * rename new unit tests
11 lines
241 B
Python
11 lines
241 B
Python
import pytest
|
|
|
|
from haystack.mmh3 import hash128
|
|
|
|
|
|
@pytest.mark.unit
|
|
def test_mmh3():
|
|
content = "This is the document text" * 100
|
|
hashed_content = hash128(content)
|
|
assert hashed_content == 305042678480070366459393623793278501577
|