artiq_influxdb: Support append() in dataset _Mock

This went undetected as append mods were not actually in use
in any part of the codebase previously.
This commit is contained in:
David Nadlinger 2018-06-30 19:37:03 +01:00
parent bf84226c7d
commit 56b2e0c262
1 changed files with 3 additions and 0 deletions

View File

@ -131,6 +131,9 @@ class _Mock:
def __delitem__(self, k): def __delitem__(self, k):
pass pass
def append(self, v):
pass
class Datasets: class Datasets:
def __init__(self, filter_function, writer, init): def __init__(self, filter_function, writer, init):