[experiments][tests] Refactor test and add email sending checks

1 job for 558_experiment_fix_url_prefix_usage in 14 minutes and 54 seconds (queued for 10 seconds)
Status Job ID Name Coverage
  Build
failed #209640
docker-build
build_linux_36

00:14:54

68.0%
 
Name Stage Failure
failed
build_linux_36 Build
  File "/scratch/builds/iJyPBhV4/1/beat/beat.web/miniconda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2471, in load
self.require(*args, **kwargs)
File "/scratch/builds/iJyPBhV4/1/beat/beat.web/miniconda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2494, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/scratch/builds/iJyPBhV4/1/beat/beat.web/miniconda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 785, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'rfc3986>=1.4.0' distribution was not found and is required by twine

ERROR: Job failed: exit status 1