Commit 4e0e3f27 authored by Jakob Lerch's avatar Jakob Lerch
Browse files

add test_etherpad

parent 04ff06f8
from configparser import ConfigParser
from functools import cache
from protocol_translator.pad import Etherpad
def init():
api_keys = ConfigParser()"api_keys.conf")
e = Etherpad("",
return e
def test_init():
e = init()
assert isinstance(e, pad.Etherpad)
def test_read():
e = init()
assert == "testtest"
def test_write():
e = init()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment