Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(4)  |  Derive(0)  |  Import(1)

src/n/i/ninja-ide-HEAD/ninja_ide/gui/explorer/nproject.py   ninja-ide(Download)
        if file_manager.file_exists(self.path, self._name + '.nja'):
            file_manager.delete_file(self.path, self._name + '.nja')
        json_manager.create_ninja_project(self.path, self._name, project)
        #TODO: update project tree on extensions changed
 

src/n/i/ninja-ide-HEAD/ninja_tests/tools/jsonmanager/test_ninja_project.py   ninja-ide(Download)
from ninja_ide.tools.json_manager import read_ninja_plugin
from ninja_ide.tools.json_manager import read_ninja_project
from ninja_ide.tools.json_manager import create_ninja_project
 
 
        structure = dict(foo='bar')
 
        create_ninja_project(path, project, structure)
        expected_name = 'this_is_my_project.nja'
 
        structure = dict(foo='bar')
 
        create_ninja_project(path, project, structure)
        expected_name = 'this_is_my_________project.nja'
 
 
        structure = dict(foo='bar')
        create_ninja_project(path, project, structure)
        structure = read_ninja_project(path)
        assert structure['foo'] == 'bar'