Fix linting errors in the tests
This commit is contained in:
@@ -556,7 +556,7 @@ def testBaseCommon_jsonEncode():
|
||||
# Correct types
|
||||
assert jsonEncode([1, 2]) == "[\n 1,\n 2\n]"
|
||||
assert jsonEncode((1, 2)) == "[\n 1,\n 2\n]"
|
||||
assert jsonEncode({1: 2}) == "{\n \"1\": 2\n}"
|
||||
assert jsonEncode({1: 2}) == '{\n "1": 2\n}'
|
||||
|
||||
tstDict = {
|
||||
"null": None,
|
||||
|
||||
@@ -141,8 +141,8 @@ def testBaseConfig_InitLoadSave(monkeypatch, fncPath, tstPaths):
|
||||
assert newConf.guiSyntax == "bar"
|
||||
|
||||
# Test Correcting Quote Settings
|
||||
tstConf.fmtDQuoteOpen = "\""
|
||||
tstConf.fmtDQuoteClose = "\""
|
||||
tstConf.fmtDQuoteOpen = '"'
|
||||
tstConf.fmtDQuoteClose = '"'
|
||||
tstConf.fmtSQuoteOpen = "'"
|
||||
tstConf.fmtSQuoteClose = "'"
|
||||
tstConf.doReplaceDQuote = True
|
||||
|
||||
Reference in New Issue
Block a user