8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12ca9fe commit 81c795bCopy full SHA for 81c795b
test/test_workbook.py
@@ -471,10 +471,8 @@ def test_publish_with_hidden_view(self):
471
472
request_body = m._adapter.request_history[0]._request.body
473
# order of attributes in xml is unspecified
474
- self.assertTrue(
475
- (b'<views><view hidden="true" name="GDP per capita" /></views>' in request_body)
476
- or
477
- (b'<views><view name="GDP per capita" hidden="true" /></views>' in request_body))
+ self.assertTrue(re.search(rb'<views><view.*?hidden=\"true\".*?\/><\/views>', request_body))
+ self.assertTrue(re.search(rb'<views><view.*?name=\"GDP per capita\".*?\/><\/views>', request_body))
478
479
def test_publish_async(self):
480
self.server.version = '3.0'
0 commit comments