aboutsummaryrefslogblamecommitdiff
blob: a35c56c8b4b830d24eaf8d97a65f4f3171b0f780 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                         
import pytest

@pytest.mark.vcr()
def test_markers(api, status):
    marker_a = api.markers_set("home", status)
    assert marker_a
    assert marker_a["home"]
    
    marker_b = api.markers_get("home")
    assert marker_b
    assert marker_b["home"]
    
    assert marker_a.home.version == marker_b.home.version
    assert marker_a.home.last_read_id == status.id
    assert marker_b.home.last_read_id == status.id

    
Powered by cgit v1.2.3 (git 2.41.0)