Skip to content

Commit

Permalink
Mark view stale=false test with xfail #7
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescooke committed Mar 22, 2018
1 parent bb7c08a commit babaa86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions pytest.ini
@@ -1,3 +1,4 @@
[pytest]
addopts=--tb=short --color=yes --doctest-modules
log_print=False
xfail_strict=True
3 changes: 3 additions & 0 deletions tests/query/test_query_view.py
Expand Up @@ -61,9 +61,12 @@ def test_default_stale(all_query, database_with_doc):
assert result['rows'][0]['key'] == 'stuff'


@pytest.mark.xfail(reason='Fix Walrus to obey stale=false, issue #7')
def test_unstale(all_query, database_with_doc):
"""
Hot view updates itself when `stale=False` is passed.
Xfail because walrus does not implement `stale=false`
"""
all_query.query_view('everything')
database_with_doc.get_document('moarstuff').create_update()
Expand Down

0 comments on commit babaa86

Please sign in to comment.