mirror of
https://github.com/element-hq/synapse
synced 2024-07-04 08:43:29 +00:00
Fix builtins.SyntaxError: EOL while scanning string literal (test_sync.py, line 1885)
See https://github.com/element-hq/synapse/actions/runs/9675073109/job/26692003103?pr=17320#step:9:5552 Worked fine locally but failed in CI with Python 3.8
This commit is contained in:
parent
11db1befa2
commit
7395e10420
|
@ -1882,9 +1882,7 @@ class SlidingSyncTestCase(unittest.HomeserverTestCase):
|
||||||
channel = self.make_request(
|
channel = self.make_request(
|
||||||
"POST",
|
"POST",
|
||||||
self.sync_endpoint
|
self.sync_endpoint
|
||||||
+ f"?pos={self.get_success(
|
+ f"?pos={self.get_success(from_token.to_string(self.store))}",
|
||||||
from_token.to_string(self.store)
|
|
||||||
)}",
|
|
||||||
{
|
{
|
||||||
"lists": {
|
"lists": {
|
||||||
"foo-list": {
|
"foo-list": {
|
||||||
|
@ -2074,9 +2072,7 @@ class SlidingSyncTestCase(unittest.HomeserverTestCase):
|
||||||
channel = self.make_request(
|
channel = self.make_request(
|
||||||
"POST",
|
"POST",
|
||||||
self.sync_endpoint
|
self.sync_endpoint
|
||||||
+ f"?pos={self.get_success(
|
+ f"?pos={self.get_success(from_token.to_string(self.store))}",
|
||||||
from_token.to_string(self.store)
|
|
||||||
)}",
|
|
||||||
{
|
{
|
||||||
"lists": {
|
"lists": {
|
||||||
"foo-list": {
|
"foo-list": {
|
||||||
|
@ -2323,9 +2319,7 @@ class SlidingSyncTestCase(unittest.HomeserverTestCase):
|
||||||
channel = self.make_request(
|
channel = self.make_request(
|
||||||
"POST",
|
"POST",
|
||||||
self.sync_endpoint
|
self.sync_endpoint
|
||||||
+ f"?pos={self.get_success(
|
+ f"?pos={self.get_success(from_token.to_string(self.store))}",
|
||||||
from_token.to_string(self.store)
|
|
||||||
)}",
|
|
||||||
{
|
{
|
||||||
"lists": {
|
"lists": {
|
||||||
"foo-list": {
|
"foo-list": {
|
||||||
|
@ -2493,9 +2487,7 @@ class SlidingSyncTestCase(unittest.HomeserverTestCase):
|
||||||
channel = self.make_request(
|
channel = self.make_request(
|
||||||
"POST",
|
"POST",
|
||||||
self.sync_endpoint
|
self.sync_endpoint
|
||||||
+ f"?pos={self.get_success(
|
+ f"?pos={self.get_success(from_token.to_string(self.store))}",
|
||||||
from_token.to_string(self.store)
|
|
||||||
)}",
|
|
||||||
{
|
{
|
||||||
"lists": {
|
"lists": {
|
||||||
"foo-list": {
|
"foo-list": {
|
||||||
|
@ -2563,9 +2555,7 @@ class SlidingSyncTestCase(unittest.HomeserverTestCase):
|
||||||
channel = self.make_request(
|
channel = self.make_request(
|
||||||
"POST",
|
"POST",
|
||||||
self.sync_endpoint
|
self.sync_endpoint
|
||||||
+ f"?pos={self.get_success(
|
+ f"?pos={self.get_success(from_token.to_string(self.store))}",
|
||||||
from_token.to_string(self.store)
|
|
||||||
)}",
|
|
||||||
{
|
{
|
||||||
"lists": {
|
"lists": {
|
||||||
"foo-list": {
|
"foo-list": {
|
||||||
|
|
Loading…
Reference in a new issue