tests (e2e/CLI/set_get): fix RSM request:
items are stored in chronological order in Pubsub, and as we want the more recent one, we need to set `before=''`. Otherwise, we can get a wrong item from a previous test.
This commit is contained in:
parent
a8cadf7fc3
commit
589468041a
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ class TestLiberviaCliBlog:
|
|||
|
||||
def test_set_get(self, li_json):
|
||||
li.blog.set(_in="markdown **bold** [link](https://example.net)")
|
||||
item_data = li_json.blog.get(max=1)
|
||||
item_data = li_json.blog.get(max=1, before="")
|
||||
item = item_data[0][0]
|
||||
metadata = item_data[1]
|
||||
assert metadata['service'] == "account1@server1.test"
|
||||
|
|
|
|||
Loading…
Reference in a new issue