mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
3ff0866deb
commit
fa0bdab523
|
@ -1984,7 +1984,7 @@ if args.testdata:
|
|||
testClientToServer,
|
||||
testCommentsEnabled,
|
||||
'img/logo.png', 'image/png',
|
||||
'Description of image',
|
||||
'Description of image',
|
||||
useBlurhash)
|
||||
createPublicPost(baseDir, nickname, domain, port, httpPrefix,
|
||||
"man these centralized sites are like the worst!",
|
||||
|
|
7
tests.py
7
tests.py
|
@ -276,7 +276,7 @@ def createServerAlice(path: str, domain: str, port: int,
|
|||
if hasPosts:
|
||||
testFollowersOnly = False
|
||||
testSaveToFile = True
|
||||
clientToServer = False
|
||||
clientToServer = False
|
||||
testCommentsEnabled = True
|
||||
testAttachImageFilename = None
|
||||
testMediaType = None
|
||||
|
@ -375,7 +375,8 @@ def createServerBob(path: str, domain: str, port: int,
|
|||
testSaveToFile = True
|
||||
testCommentsEnabled = True
|
||||
testAttachImageFilename = None
|
||||
testMediaType = None
|
||||
testImageDescription = None
|
||||
testMediaType = None
|
||||
createPublicPost(path, nickname, domain, port, httpPrefix,
|
||||
"It's your life, live it your way.",
|
||||
testFollowersOnly,
|
||||
|
@ -2589,7 +2590,7 @@ def testReplyToPublicPost() -> None:
|
|||
def getFunctionCallArgs(name: str, lines: [], startLineCtr: int) -> []:
|
||||
"""Returns the arguments of a function call given lines
|
||||
of source code and a starting line number
|
||||
"""
|
||||
"""
|
||||
argsStr = lines[startLineCtr].split(name + '(')[1]
|
||||
if ')' in argsStr:
|
||||
argsStr = argsStr.split(')')[0].replace(' ', '').split(',')
|
||||
|
|
Loading…
Reference in New Issue