Module: check_mk
Branch: master
Commit: 01a10e6cfca56d8c301b05abf66c6029f5caf285
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=01a10e6cfca56d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Mar 8 11:54:02 2019 +0100
Add freezegun for comfortable time mocking in tests
Change-Id: Ie9667365185f8f86bb443946d2789e2262c6cbe8
---
Pipfile | 1 +
Pipfile.lock | 28 ++++++++++++++++++++++------
2 files changed, 23 insertions(+), 6 deletions(-)
diff --git a/Pipfile b/Pipfile
index 42899f7..4ee093d 100644
--- a/Pipfile
+++ b/Pipfile
@@ -21,6 +21,7 @@ docker = "*"
mockldap = "*"
isort = "*"
pdbpp = "*"
+freezegun = "*"
[packages]
setuptools_scm = "==3.1.0"
diff --git a/Pipfile.lock b/Pipfile.lock
index f4b3102..b7040db 100644
--- a/Pipfile.lock
+++ b/Pipfile.lock
@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
- "sha256":
"e4e451366caf430af6048ea42109837b9bc49a9da374e1aa1686914ef220edd8"
+ "sha256":
"4b35e236a3fee27dec1e3686d32f6be30bb1aef4d7a7e0a2ea20fd38b0179c6f"
},
"pipfile-spec": 6,
"requires": {
@@ -996,7 +996,7 @@
"sha256:9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a",
"sha256:f0b0e4eba956de51238e17573b7087e852dfe9854afd2e9c873f73fc0ca0a6dd"
],
- "markers": "python_version < '3.2'",
+ "markers": "python_version < '3.4'",
"version": "==1.5"
},
"backports.ssl-match-hostname": {
@@ -1120,6 +1120,14 @@
],
"version": "==0.8"
},
+ "freezegun": {
+ "hashes": [
+
"sha256:6cb82b276f83f2acce67f121dc2656f4df26c71e32238334eb071170b892a278",
+
"sha256:e839b43bfbe8158b4d62bb97e6313d39f3586daf48e1314fb1083d2ef17700da"
+ ],
+ "index": "pypi",
+ "version": "==0.3.11"
+ },
"funcparserlib": {
"hashes": [
"sha256:b7992eac1a3eb97b3d91faa342bfda0729e990bd8a43774c1592c091e563c91d"
@@ -1131,7 +1139,7 @@
"sha256:330cc27ccbf7f1e992e69fef78261dc7c6569012cf397db8d3de0234e6c937ca",
"sha256:a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50"
],
- "markers": "python_version < '3.3'",
+ "markers": "python_version < '3.0'",
"version": "==1.0.2"
},
"futures": {
@@ -1174,11 +1182,11 @@
},
"isort": {
"hashes": [
-
"sha256:89041186651a9a6159683098f337eed0994d9d94e006f891c6e8cbeb8e65f1c7",
-
"sha256:ba51a651505242b0b37ad94b281e1154301e221a40c623e62334ed863fc1c98c"
+
"sha256:38a74a5ccf3a15a7a99f975071164f48d4d10eed4154879009c18e6e8933e5aa",
+
"sha256:abbb2684aa234d5eb8a67ef36d4aa62ea080d46c2eba36ad09e2990ae52e4305"
],
"index": "pypi",
- "version": "==4.3.12"
+ "version": "==4.3.13"
},
"lazy-object-proxy": {
"hashes": [
@@ -1393,6 +1401,14 @@
"index": "pypi",
"version": "==0.4"
},
+ "python-dateutil": {
+ "hashes": [
+
"sha256:063df5763652e21de43de7d9e00ccf239f953a832941e37be541614732cdfc93",
+
"sha256:88f9287c0174266bb0d8cedd395cfba9c58e87e5ad86b2ce58859bc11be3cf02"
+ ],
+ "index": "pypi",
+ "version": "==2.7.5"
+ },
"python-ldap": {
"hashes": [
"sha256:41975e79406502c092732c57ef0c2c2eb318d91e8e765f81f5d4ab6c1db727c5"