File: test_opts.py

package info (click to toggle)
python-jpype 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,872 kB
  • sloc: python: 18,369; cpp: 17,718; java: 8,254; xml: 1,305; makefile: 152; sh: 32
file content (23 lines) | stat: -rwxr-xr-x 644 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import sys
import jpype
import common

# This is an example of how to pass arguments to pytest.
# Options are defined in the file conftest.py and
# passed the a fixture function.  This fixture function
# is then applied to each TestCase class.
#
# class OptsTestCase(common.JPypeTestCase):
#
#    def setUp(self):
#        common.JPypeTestCase.setUp(self)
#
#    def testOpts(self):
#        self.assertTrue(hasattr(self, "_jar"))
#        self.assertTrue(hasattr(self, "_convertStrings"))
#
#    def testConvertStrings(self):
#        self.assertTrue(self._convertStrings)
#
#    def testJar(self):
#        self.assertEqual(self._jar, "foo")