Skip to content

Commit

Permalink
TST: Skip testing mds against intake-backed Broker.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielballan committed Jun 6, 2019
1 parent 0df3904 commit e9dc465
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion databroker/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ def mds_all(request, db):
'''Provide a function level scoped Registry instance talking to
temporary database on localhost:27017 with both v0 and v1.
'''
return db.mds
try:
return db.mds
except AttributeError:
pytest.skip("mds tests do not apply to intake-backed Broker")


@pytest.fixture(params=[mqmds,
Expand Down

0 comments on commit e9dc465

Please sign in to comment.