Skip to content

Commit

Permalink
Fix broken regression and coverage tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
tshead committed Dec 3, 2020
1 parent f0d8567 commit 382f4c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions features/dynamic.feature
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,10 @@ Feature: Dynamic Graphs
When adding tasks ["A", "B", "C"] with functions [graphcat.delay(2), graphcat.delay(1), graphcat.delay(0.1)]
And adding links [("A", "B"), ("B", "C")]
And updating tasks ["C"]
Then the performance monitor output should be {"A": [2], "B": [1], "C": [0.1]}
Then the performance monitor output should be {"C": [0.1]}
When tasks ["C"] are marked unfinished
And updating tasks ["C"]
Then the performance monitor output should be {"A": [2], "B": [1], "C": [0.1, 0.1]}
Then the performance monitor output should be {"C": [0.1, 0.1]}
When the performance monitor is reset
Then the performance monitor output should be {}

Expand Down
2 changes: 1 addition & 1 deletion graphcat/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ def implementation():
def __contains__(self, name):
return name in self._keys

def __getitem__(self, key):
def __getitem__(self, key): # pragma: no cover
""".. deprecated:: 0.10.0"""
warnings.warn("NamedInputs.__getitem__() is deprecated, use NamedInputs.get(), NamedInputs.getone(), or NamedInputs.getall() instead.", DeprecationWarning, stacklevel=2)
return self.getall(key)
Expand Down

0 comments on commit 382f4c5

Please sign in to comment.