def test_register_to_higlass3(used_env): bucket = 'elasticbeanstalk-fourfront-webdev-wfoutput' bigbed_key = 'a34d5ea5-eada-4def-a4a7-c227b0d32395/4DNFIC624FKJ.bb' tibanna = Tibanna(used_env) with mock.patch('requests.post') as mock_request: res = register_to_higlass(tibanna, bucket, bigbed_key, 'bigwig', 'vector') mock_request.assert_called_once() printlog(res) assert res
def test_register_to_higlass2(used_env): bucket = 'elasticbeanstalk-fourfront-webdev-wfoutput' bigwig_key = 'a940cf00-6001-473e-80d1-1e4a43866863/4DNFI75GAT6T.bw' tibanna = pony_utils.Tibanna(used_env) with mock.patch('requests.post') as mock_request: res = register_to_higlass(tibanna, bucket, bigwig_key, 'bigwig', 'vector') mock_request.assert_called_once() LOG.info(res) assert res
def test_register_to_higlass(used_env): bucket = 'elasticbeanstalk-fourfront-webdev-wfoutput' mcool_key = 'a940cf00-6001-473e-80d1-1e4a43866863/4DNFI75GAT6T.mcool' tibanna = Tibanna(used_env) with mock.patch('requests.post') as mock_request: res = register_to_higlass(tibanna, bucket, mcool_key, 'cooler', 'matrix') mock_request.assert_called_once() printlog(res) assert res