Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Florents-Tselai committed Jun 23, 2024
1 parent 5ad4e00 commit 0a3e01c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup
import os

VERSION = "0.0.0a0"
VERSION = "0.0.1a0"


def get_long_description():
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def existing_db_path(fresh_db_path):
db = Database(fresh_db_path)
table = db.create_table(
"prompts",
{"prompt": str},
{"prompt": str, "generated": str}
)

table.insert({"prompt": "hello world!"})
Expand Down
1 change: 0 additions & 1 deletion tests/test_tsellm.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ def test_cli_prompt_mock(existing_db_path):
prompt_words = prompt.split()
for word in words:
assert word in prompt_words
assert existing_db_path == 'gdfg'

0 comments on commit 0a3e01c

Please sign in to comment.