diff --git a/tests/test_plate_designer.py b/tests/test_plate_designer.py index 09c7c9c..031acfc 100644 --- a/tests/test_plate_designer.py +++ b/tests/test_plate_designer.py @@ -142,7 +142,20 @@ def test_main(self): with patch.object(sys, 'argv', test_args): from icfree.plate_designer import main - main() + args = parse_args() + main( + sampling_file=args.sampling_file, + sample_volume=args.sample_volume, + start_well_src_plt=args.start_well_src_plt, + start_well_dst_plt=args.start_well_dst_plt, + plate_dims=args.plate_dims, + well_capacity=args.well_capacity, + default_well_capacity=args.default_well_capacity, + dead_volumes=args.dead_volumes, + default_dead_volume=args.default_dead_volume, + num_replicates=args.num_replicates, + output_folder=args.output_folder + ) self.assertTrue((Path(self.temp_dir.name) / 'destination_plate.csv').exists()) self.assertTrue((Path(self.temp_dir.name) / 'source_plate.csv').exists())