File: tests.patch

package info (click to toggle)
cif2cell 2.1.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,676 kB
  • sloc: python: 19,624; makefile: 18
file content (24 lines) | stat: -rw-r--r-- 804 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: As Si.cif is excluded due to DFSG, it is replaced with SiC.cif
 in the tests.
Author: Andrius Merkys <merkys@debian.org>
Forwarded: not-needed
--- a/tests/test_cif2cell.py
+++ b/tests/test_cif2cell.py
@@ -39,7 +39,7 @@
 
 def test_vasp():
     """Test VASP output."""
-    cif_file = CIFS_DIR / "Si.cif"
+    cif_file = CIFS_DIR / "SiC.cif"
     result = run_cif2cell(["-p", "vasp", "-f", cif_file])
     assert not "***Warning: Space group operation check failed" in result
     assert not "Error" in result
@@ -47,7 +47,7 @@
 
 def test_castep():
     """Test CASTEP output."""
-    cif_file = CIFS_DIR / "Si.cif"
+    cif_file = CIFS_DIR / "SiC.cif"
     result = run_cif2cell(["-p", "castep", "-f", cif_file])
 
     assert not "***Warning: Space group operation check failed" in result