| 1 |
''' |
| 2 |
Test miscenallenous helper functions. |
| 3 |
''' |
| 4 |
|
| 5 |
from __future__ import absolute_import, print_function, unicode_literals |
| 6 |
|
| 7 |
from unittest import TestCase |
| 8 |
|
| 9 |
from drmaa import Session |
| 10 |
|
| 11 |
|
| 12 |
class Misc(TestCase): |
| 13 |
|
| 14 |
def setUp(self): |
| 15 |
self.s = Session() |
| 16 |
|
| 17 |
def test_drmaa_get_contact(self): |
| 18 |
"""contact attribute works""" |
| 19 |
print(self.s.contact) |
| 20 |
|
| 21 |
def test_drmaa_version(self): |
| 22 |
"""version attribute works""" |
| 23 |
print(self.s.version) |
| 24 |
|
| 25 |
def test_drmaa_get_DRM_system(self): |
| 26 |
"""DRM system attribute works""" |
| 27 |
print(self.s.drmsInfo) |
| 28 |
|
| 29 |
def test_drmaa_get_DRMAA_implementation(self): |
| 30 |
"""DRMAA implementation attribute works""" |
| 31 |
print(self.s.drmaaImplementation) |