Skip to content

Commit 7488777

Browse files
committed
fix slo test
Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
1 parent f6dec88 commit 7488777

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22

33
## [Unreleased][]
44

5+
[Unreleased]: https://github.com/chaostoolkit-incubator/chaostoolkit-datadog/compare/0.1.1...HEAD
6+
57
### Added
68

79
* Metrics probe `chaosdatadog.metrics.get_metrics_state`
810

9-
[Unreleased]: https://github.com/chaostoolkit-incubator/chaostoolkit-datadog/compare/0.1.1...HEAD
11+
### Fixed
12+
13+
* SLO test
1014

1115
## [0.1.1][]
1216

tests/test_probes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
def test_get_slo(rest):
1010
r = MagicMock()
1111
r.getheader.return_value = None
12+
r.headers = {
13+
"Content-Type": "application/json"
14+
}
1215
r.data = json.dumps({}).encode("utf-8")
1316
cl = MagicMock()
1417
cl.request.return_value = r

0 commit comments

Comments
 (0)