Home | History | Annotate | Download | only in tests

Lines Matching refs:cmd

16         cmd = install_data(dist)
17 cmd.install_dir = inst = os.path.join(pkg_dir, 'inst')
28 cmd.data_files = [one, (inst2, [two])]
29 self.assertEqual(cmd.get_inputs(), [one, (inst2, [two])])
32 cmd.ensure_finalized()
33 cmd.run()
36 self.assertEqual(len(cmd.get_outputs()), 2)
41 cmd.outfiles = []
44 cmd.warn_dir = 1
45 cmd.ensure_finalized()
46 cmd.run()
49 self.assertEqual(len(cmd.get_outputs()), 2)
52 cmd.outfiles = []
55 cmd.root = os.path.join(pkg_dir, 'root')
56 inst3 = os.path.join(cmd.install_dir, 'inst3')
58 three = os.path.join(cmd.install_dir, 'three')
60 cmd.data_files = [one, (inst2, [two]),
63 cmd.ensure_finalized()
64 cmd.run()
67 self.assertEqual(len(cmd.get_outputs()), 4)