Esempio n. 1
0
 def test_cli_8(self):
     test_args = [
         '--format', 'txt',
         '201113139349301336'
     ]
     args = self.parser.parse_args(test_args)
     run_cli_main(args)
Esempio n. 2
0
 def test_cli_namespaced(self):
     test_args = [
         '--format', 'txt',
         '201940149349301304' # tags start with "irs:"
     ]
     args = self.parser.parse_args(test_args)
     run_cli_main(args)
Esempio n. 3
0
 def test_cli_5(self):
     test_args = [
         '--schedule', 'IRS990', '--format', 'txt', '--file', 'testout.csv',
         '--verbose', '201113139349301336'
     ]
     args = self.parser.parse_args(test_args)
     run_cli_main(args)
Esempio n. 4
0
 def test_cli_8(self):
     test_args = [
         '--list_schedules',
         '201642229349300909'
     ]
     args = self.parser.parse_args(test_args)
     run_cli_main(args)
Esempio n. 5
0
 def test_cli_4(self):
     test_args = [
         '--schedule', 'IRS990', '--format', 'csv', '--file', 'testout.csv',
         '201642229349300909'
     ]
     args = self.parser.parse_args(test_args)
     run_cli_main(args)
Esempio n. 6
0
 def test_cli_7(self):
     test_args = [
         '--format', 'txt',
         '--xpath',
         '--verbose',
         '201113139349301336'
     ]
     args = self.parser.parse_args(test_args)
     run_cli_main(args)
Esempio n. 7
0
 def test_cli_3(self):
     test_args = ['--schedule', 'IRS990', FILING_2014V50]
     args = self.parser.parse_args(test_args)
     run_cli_main(args)
Esempio n. 8
0
 def test_cli_2(self):
     # dump only main 990 in bare json format
     test_args = ['--schedule', 'IRS990', '--xpath', '201642229349300909']
     args = self.parser.parse_args(test_args)
     run_cli_main(args)
Esempio n. 9
0
 def test_cli_1(self):
     args = self.parser.parse_args([FILING_2015V21, '--verbose'])
     # Does it run? Output is to std out.
     run_cli_main(args)