From ef6e24284da13b538c27595865365c9985e0d60e Mon Sep 17 00:00:00 2001
From: Peter Henderson <peter.henderson@mail.mcgill.ca>
Date: Sat, 15 Aug 2020 22:35:15 -0700
Subject: [PATCH] Add many contexts test
---
test/test_context.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/test_context.py b/test/test_context.py
index 734f844..7182324 100644
--- a/test/test_context.py
+++ b/test/test_context.py
@@ -89,4 +89,5 @@ def test_many_contexts():
with ImpactTracker(fname):
_helper_function()
- DataInterface(files)
+ di = DataInterface(files)
+ assert di.total_power > 0 and di.kg_carbon > 0
--
GitLab