Unverified Commit ab9c5f30 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil Committed by GitHub
Browse files

Merge pull request #62 from LCSB-BioCore/mk-downloads

import `download` from Downloads
parents 3500090e e37aefd6
......@@ -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)
Downloads.download(url, sbmlfile)
cksum = bytes2hex(sha256(open(sbmlfile)))
using Test, SHA, SparseArrays
using Test, SHA, SparseArrays, Downloads
using SBML
using SBML: Model, Reaction, Species
import Pkg
Markdown is supported
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