Skip to content

Commit

Permalink
test(plate_designer): fit to new main spec
Browse files Browse the repository at this point in the history
  • Loading branch information
breakthewall committed Jul 8, 2024
1 parent b3dc5c0 commit 93b3b85
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion tests/test_plate_designer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit 93b3b85

Please sign in to comment.