mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-14 02:28:23 +00:00
23 lines
426 B
Python
23 lines
426 B
Python
|
#!/usr/bin/env python
|
||
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
import unittest
|
||
|
import sys,os
|
||
|
|
||
|
sys.path.append(os.environ['AIL_BIN'])
|
||
|
|
||
|
from Helper import Process
|
||
|
|
||
|
class TestHelper(unittest.TestCase):
|
||
|
|
||
|
def setUp(self):
|
||
|
|
||
|
config_section = 'Keys'
|
||
|
|
||
|
|
||
|
def test_Process_Constructor_using_key_module(self):
|
||
|
|
||
|
conf_section = 'Keys'
|
||
|
process = Process(conf_section)
|
||
|
self.assertEqual(process.subscriber_name, 'Keys')
|