File: fix_checkcif_TestCheckCifInterface.patch

package info (click to toggle)
finalcif 154%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 53,284 kB
  • sloc: fortran: 148,126; python: 50,133; cpp: 67; sh: 51; makefile: 22
file content (33 lines) | stat: -rw-r--r-- 1,136 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From: Debian Science Maintainers
 <debian-science-maintainers@lists.alioth.debian.org>
Date: Wed, 27 Aug 2025 14:24:28 +0200
Subject: fix_checkcif_TestCheckCifInterface

Signed-off-by: Rong Fu <rong.fu.cn@windriver.com>
Last-Update: 2025-04-14
---
 tests/test_checkcif.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/test_checkcif.py b/tests/test_checkcif.py
index 29231d2..13f8019 100644
--- a/tests/test_checkcif.py
+++ b/tests/test_checkcif.py
@@ -12,6 +12,7 @@ from finalcif.cif.checkcif.checkcif import MyHTMLParser, fix_iucr_urls
 data = Path('tests')
 
 form_choices = {'filecif'      : [],
+                'from_index'   : [],
                 'runtype'      : [],
                 'from_index'   : [],
                 'referer'      : [],
@@ -67,6 +68,9 @@ class TestCheckCifInterface(TestCase):
     def test_form_choices_filecif(self):
         self.assertEqual([], self.form_items['filecif'])
 
+    def test_form_choices_from_index(self):
+        self.assertEqual([], self.form_items['from_index'])
+
     def test_form_choices_runtype(self):
         self.assertEqual([], self.form_items['runtype'])