We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2de051d commit 7d0b8b7Copy full SHA for 7d0b8b7
tests/materials/test_tasks.py
@@ -1,8 +1,9 @@
1
import os
2
-from core_function import client_search_testing
3
-import pytest
4
+import pytest
+from core_function import client_search_testing
5
from emmet.core.utils import utcnow
6
+
7
from mp_api.client.routes.materials.tasks import TaskRester
8
9
@@ -53,7 +54,6 @@ def test_client(rester):
53
54
55
56
def test_get_trajectories(rester):
- trajectories = [traj for traj in rester.get_trajectory("mp-149")]
57
+ trajectory = rester.get_trajectory("mp-149")
58
- for traj in trajectories:
59
- assert ("@module", "pymatgen.core.trajectory") in traj.items()
+ assert trajectory["@module"] == "pymatgen.core.trajectory"
0 commit comments