File: test_associated.py

package info (click to toggle)
python-modelcif 1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 688 kB
  • sloc: python: 6,746; makefile: 14; sh: 6
file content (19 lines) | stat: -rw-r--r-- 501 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import utils
import os
import unittest

TOPDIR = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
utils.set_search_paths(TOPDIR)
import modelcif.associated


class Tests(unittest.TestCase):
    def test_local_pairwise_qa_scores_file(self):
        """Test LocalPairwiseQAScoresFile class"""
        self.assertWarns(UserWarning,
                         modelcif.associated.LocalPairwiseQAScoresFile,
                         path='foo')


if __name__ == '__main__':
    unittest.main()