Removed links
This commit is contained in:
parent
f658a78c76
commit
61362663a1
2
main.py
2
main.py
@ -22,7 +22,7 @@ MAXTITLE=25
|
||||
|
||||
# The entire config object with all defaults
|
||||
config = {
|
||||
"api" : "https://oboy.smilebasicsource.com/api",
|
||||
"api" : "http://localhost:5000/api",
|
||||
"default_loglevel" : "WARNING",
|
||||
"websocket_trace" : False,
|
||||
"default_room" : 0, # Zero means it will ask you for a room
|
||||
|
@ -6,10 +6,11 @@ import logging
|
||||
class TestContentapi(unittest.TestCase):
|
||||
|
||||
def setUp(self) -> None:
|
||||
# MAYBE change all these some time? Should connect to a local instance!!
|
||||
self.api = contentapi.ApiContext("https://oboy.smilebasicsource.com/api", logging)
|
||||
self.known_content_id = 384
|
||||
self.known_name = "Megathread"
|
||||
# Requires some local setup. This data points to the SBS instance you usually run to
|
||||
# test the SBS frontend (contentapi_copy)
|
||||
self.api = contentapi.ApiContext("http://localhost:5000/api", logging)
|
||||
self.known_content_id = 15050 # 384
|
||||
self.known_name = "Big Dumb" # "Megathread"
|
||||
|
||||
def test_apistatus(self):
|
||||
result = self.api.api_status()
|
||||
|
Loading…
Reference in New Issue
Block a user