This commit is contained in:
Matt Freeman
2024-06-29 18:49:26 -04:00
commit 3c4fe53600
12 changed files with 523 additions and 0 deletions

0
tests/__main__.py Normal file
View File

13
tests/test_ollama_bot.py Normal file
View File

@@ -0,0 +1,13 @@
from getpass import getpass
import pytest
from src.ollama_slixmpp_omemo_bot import ollama_bot
class TestOllamaSlixmppOmemoBot:
def setup_method(self):
"""Assemble common resources to be acted upon"""
def test_authentication(self):
jid = input("JID: ")
pw = getpass()
assert ollama_bot.OllamaBot(jid, pw).jid == jid