<reponame>martin-chatterjee/vfxtest
# -*- coding: utf-8 -*-
#
# Copyright (c) 2019, <NAME>. All rights reserved.
# -----------------------------------------------------------------------------

import os
import sys

import vfxtest

import awesome_module

# -----------------------------------------------------------------------------
class TestCase03(vfxtest.TestCase):

    @classmethod
    def setUpClass(cls):
        pass
    # -------------------------------------------------------------------------
    def test01_(self):
        tr = self.test_root
        self.assertTrue(os.path.exists(tr))

        # retrieve settings in here
        current_context = self.context
        print('    [TestCase03]  current context:          {}'.format(current_context))
        executable = self.context_settings.get('executable', None)
        print('    [TestCase03]  settings executable:      {}'.format(executable))
        print('    [TestCase03]  real executable:          {}'.format(sys.executable))
        print('    [TestCase03]  test_root:                {}'.format(self.test_root))

        foo = awesome_module.lorem(3, 5)
        self.assertEqual(foo, 8)

    # -------------------------------------------------------------------------
    def test02_(self):
        foo = awesome_module.lorem(6, 4)
        self.assertEqual(foo, 10)

    # -------------------------------------------------------------------------
    def test03_(self):
        foo = awesome_module.lorem(1, 2)
        self.assertEqual(foo, 3)

# -*- coding: utf-8 -*-
#
# Copyright (c) 2019, <NAME>. All rights reserved.
# -----------------------------------------------------------------------------

import os
import sys

import vfxtest

import awesome_module

# -----------------------------------------------------------------------------
class TestCase03(vfxtest.TestCase):

    @classmethod
    def setUpClass(cls):
        pass
    # -------------------------------------------------------------------------
    def test01_(self):
        tr = self.test_root
        self.assertTrue(os.path.exists(tr))

        # retrieve settings in here
        current_context = self.context
        print('    [TestCase03]  current context:          {}'.format(current_context))
        executable = self.context_settings.get('executable', None)
        print('    [TestCase03]  settings executable:      {}'.format(executable))
        print('    [TestCase03]  real executable:          {}'.format(sys.executable))
        print('    [TestCase03]  test_root:                {}'.format(self.test_root))

        foo = awesome_module.lorem(3, 5)
        self.assertEqual(foo, 8)

    # -------------------------------------------------------------------------
    def test02_(self):
        foo = awesome_module.lorem(6, 4)
        self.assertEqual(foo, 10)

    # -------------------------------------------------------------------------
    def test03_(self):
        foo = awesome_module.lorem(1, 2)
        self.assertEqual(foo, 3)
# -*- coding: utf-8 -*- # # Copyright (c) 2019, <NAME>. All rights reserved. # ----------------------------------------------------------------------------- # ----------------------------------------------------------------------------- # ------------------------------------------------------------------------- # retrieve settings in here # ------------------------------------------------------------------------- # -------------------------------------------------------------------------