Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Water
dataRetrieval
Commits
bdbeb444
Commit
bdbeb444
authored
Sep 10, 2021
by
Laura A DeCicco
Browse files
I guess the timing isn't consistent...so we shouldn't test that
parent
af913426
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/testthat/tests_general.R
View file @
bdbeb444
...
...
@@ -376,7 +376,6 @@ test_that("400 errors return a verbose error", {
url
<-
"https://waterservices.usgs.gov/nwis/site/?stateCd=IA&bBox=-92.821445,42.303044,-92.167168,42.646524&format=mapper"
expect_message
(
getWebServiceData
(
url
))
expect_equal
(
tryCatch
(
getWebServiceData
(
url
),
message
=
function
(
e
)
e
$
message
)[
1
],
"Request failed [400]. Retrying in 1 seconds...\n"
)
})
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment