Skip to content

Commit

Permalink
Add dummy FilterDefinitions
Browse files Browse the repository at this point in the history
Instrument will be moved into obs_base eventually, and we can just use
obs.base.FilterDefintions then.
  • Loading branch information
parejkoj authored and TallJimbo committed Aug 26, 2019
1 parent 806cf25 commit f616843
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_instrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@

class DummyCam(Instrument):

class FilterDefinitions:
"""Stopgap until Instrument is moved into obs_base and we can use the
real FilterDefinitions there.
"""
def defineFilters(self):
pass
filterDefinitions = FilterDefinitions()

@classmethod
def getName(cls):
return "DummyCam"
Expand Down

0 comments on commit f616843

Please sign in to comment.