summaryrefslogtreecommitdiff
path: root/test-chill/unit-tests/test_omega.py
blob: 91d6a1371251d075fa66568b2e9841d3feba08ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import os
import unittest

import testchill.omega
import testchill.util


class TestOmegaTestCases(unittest.TestCase):
    def setUp(self):
        self.omega_dev_dir = os.getenv('OMEGA_DEV_SRC')
        self.omega_rel_dir = os.getenv('OMEGA_RELEASE_SRC')
    
    def tearDown(self):
        pass
    
    def test_omega_dev(self):
        tc = testchill.omega.BuildOmegaTestCase(self.omega_dev_dir)
        tc.run()
        
    def test_omega_release(self):
        tc = testchill.omega.BuildOmegaTestCase(self.omega_rel_dir, 'release')
        tc.run()