Home | History | Annotate | Download | only in tests

Lines Matching refs:cmd

18         cmd = install_data(dist)

19 cmd.install_dir = inst = os.path.join(pkg_dir, 'inst')
30 cmd.data_files = [one, (inst2, [two])]
31 self.assertEqual(cmd.get_inputs(), [one, (inst2, [two])])
34 cmd.ensure_finalized()
35 cmd.run()
38 self.assertEqual(len(cmd.get_outputs()), 2)
43 cmd.outfiles = []
46 cmd.warn_dir = 1
47 cmd.ensure_finalized()
48 cmd.run()
51 self.assertEqual(len(cmd.get_outputs()), 2)
54 cmd.outfiles = []
57 cmd.root = os.path.join(pkg_dir, 'root')
58 inst3 = os.path.join(cmd.install_dir, 'inst3')
60 three = os.path.join(cmd.install_dir, 'three')
62 cmd.data_files = [one, (inst2, [two]),
65 cmd.ensure_finalized()
66 cmd.run()
69 self.assertEqual(len(cmd.get_outputs()), 4)