Exemple #1
0
def test_find_project_config_directory():
    """Test to make sure the project directory is returned.  Also checks
    to be sure that 'config is appended to the returned value.
    """
    dir = find.project_config_directory(False)
    nt.ok_(os.path.exists(dir))

    dir = find.project_config_directory()
    nt.ok_(dir.endswith('config'))
Exemple #2
0
 def test_find_project_config_directory_with_config(self):
     directory = find.project_config_directory()
     self.assertTrue(directory.endswith('config'))
Exemple #3
0
 def test_find_project_config_directory(self):
     directory = find.project_config_directory(False)
     self.assertTrue(os.path.exists(directory))