Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'--target': None,
'--tree': 'SOURCE_ROOT',
'--delete': False,
'--recursive': False,
'--exclude': None,
'--no-create-groups': True,
'--weak': False,
'--no-embed': False,
'--sign-on-copy': False,
'--ignore-unknown-types': False,
'--no-create-build-files': True
}
project = open_project(args)
self.assertListEqual(project.get_files_by_path(args['
'--target': None,
'--tree': 'SOURCE_ROOT',
'--delete': False,
'--recursive': False,
'--exclude': None,
'--no-create-groups': False,
'--weak': False,
'--no-embed': False,
'--sign-on-copy': False,
'--ignore-unknown-types': False,
'--no-create-build-files': False
}
project = open_project(args)
self.assertListEqual(project.get_files_by_path(args['
'--tree': 'SOURCE_ROOT',
'--delete': False,
'--recursive': False,
'--exclude': None,
'--no-create-groups': True,
'--weak': False,
'--no-embed': False,
'--sign-on-copy': False,
'--ignore-unknown-types': False,
'--no-create-build-files': True
}
project = open_project(args)
self.assertListEqual(project.get_files_by_path(args['
def testRemoveFolderUnknown(self):
args = {
'': 'samplescli/test.pbxproj',
'
def testRemoveFolderKnown(self):
args = {
'': 'samplescli/test.pbxproj',
'
def main():
args = docopt(__doc__, options_first=True, version=u'pbxproj version {0}'.format(pbxproj.__version__))
argv = [args['']] + args['']
if args[''] == 'file':
import pbxproj.pbxcli.pbxproj_file as pbxproj_file
command_parser(pbxproj_file.execute)(docopt(pbxproj_file.__doc__, argv=argv))
elif args[''] == 'flag':
import pbxproj.pbxcli.pbxproj_flag as pbxproj_flag
command_parser(pbxproj_flag.execute)(docopt(pbxproj_flag.__doc__, argv=argv))
elif args[''] == 'folder':
import pbxproj.pbxcli.pbxproj_folder as pbxproj_folder
command_parser(pbxproj_folder.execute)(docopt(pbxproj_folder.__doc__, argv=argv))