コード例 #1
0
    def test_get_configuration_path(self):
        """Check the path for persistent application data on Linux."""
        platform = Platform(self.sys)

        self.assertTrue(".config" in platform.get_configuration_path())
コード例 #2
0
    def test_get_configuration_path(self):
        """Check the path for persistent application data on OS X."""
        platform = Platform(self.sys)

        self.assertTrue(
            "Library/Application Support" in platform.get_configuration_path())