Removed links

This commit is contained in:
Carlos Sanchez 2023-05-01 13:07:31 -04:00
parent f658a78c76
commit 61362663a1
2 changed files with 6 additions and 5 deletions

View File

@ -22,7 +22,7 @@ MAXTITLE=25
# The entire config object with all defaults # The entire config object with all defaults
config = { config = {
"api" : "https://oboy.smilebasicsource.com/api", "api" : "http://localhost:5000/api",
"default_loglevel" : "WARNING", "default_loglevel" : "WARNING",
"websocket_trace" : False, "websocket_trace" : False,
"default_room" : 0, # Zero means it will ask you for a room "default_room" : 0, # Zero means it will ask you for a room

View File

@ -6,10 +6,11 @@ import logging
class TestContentapi(unittest.TestCase): class TestContentapi(unittest.TestCase):
def setUp(self) -> None: def setUp(self) -> None:
# MAYBE change all these some time? Should connect to a local instance!! # Requires some local setup. This data points to the SBS instance you usually run to
self.api = contentapi.ApiContext("https://oboy.smilebasicsource.com/api", logging) # test the SBS frontend (contentapi_copy)
self.known_content_id = 384 self.api = contentapi.ApiContext("http://localhost:5000/api", logging)
self.known_name = "Megathread" self.known_content_id = 15050 # 384
self.known_name = "Big Dumb" # "Megathread"
def test_apistatus(self): def test_apistatus(self):
result = self.api.api_status() result = self.api.api_status()