File: testmisc.py

package info (click to toggle)
drmaa 0.7.9-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 360 kB
  • sloc: python: 1,295; makefile: 130; sh: 34
file content (31 lines) | stat: -rw-r--r-- 720 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
'''
Test miscenallenous helper functions.
'''

from __future__ import absolute_import, print_function, unicode_literals

from unittest import TestCase

from drmaa import Session


class Misc(TestCase):

    def setUp(self):
        self.s = Session()

    def test_drmaa_get_contact(self):
        """contact attribute works"""
        print(self.s.contact)

    def test_drmaa_version(self):
        """version attribute works"""
        print(self.s.version)

    def test_drmaa_get_DRM_system(self):
        """DRM system attribute works"""
        print(self.s.drmsInfo)

    def test_drmaa_get_DRMAA_implementation(self):
        """DRMAA implementation attribute works"""
        print(self.s.drmaaImplementation)