def test_env_variables_is_working_properly_in_osx(self):
        """testing if environment variables are properly defined by using the
        os name
        """
        global platform_name
        platform_name = "Darwin"

        self.assertEqual(
            "Darwin",
            platform.system()
        )
        try:
            os.environ.pop('ENV1')
        except __HOLE__:
            pass

        os.environ['ENV1'] = '/Volumes/Z/Test/Value'
        discover_env_vars('test_env')
        self.assertEqual(
            '/Volumes/Z/Test/Value:/Volumes/Z/some/path1:/Volumes/Z/some/path2:'
            '/Volumes/Z/some/other/path1:/Volumes/Z/some/other/path2',
            os.environ['ENV1']
        )
        '/Volumes/Z/Test/Value:/Volumes/Z/some/path1:/Volumes/Z/some/path2:/Volumes/Z/some/other/path1:/Volumes/Z/some/other/path2'
        '/Volumes/Z/Test/Value:/mnt/Z/some/path1:/mnt/Z/some/path2:/mnt/Z/some/other/path1:/mnt/Z/some/other/path2'
dataset/ETHPy150Open eoyilmaz/anima/tests/env/test_environment_variables.py/EnvironmentVariableSetupTestCase.test_env_variables_is_working_properly_in_osx