Commit e37aefd6 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil 🚴
Browse files

import `download` from Downloads

parent 3500090e
......@@ -13,3 +13,9 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
julia = "1"
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
test = ["Downloads"]
......@@ -29,7 +29,7 @@ sbmlfiles = [
@testset "Loading of models from various sources" begin
for (sbmlfile, url, hash, expected_mets, expected_rxns) in sbmlfiles
if !isfile(sbmlfile)
download(url, sbmlfile), sbmlfile)
cksum = bytes2hex(sha256(open(sbmlfile)))
using Test, SHA, SparseArrays
using Test, SHA, SparseArrays, Downloads
using SBML
using SBML: Model, Reaction, Species
import Pkg
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment