Skip to content

Commit

Permalink
added pauses to tests; i think the API is rate limiting me now
Browse files Browse the repository at this point in the history
  • Loading branch information
bradlindblad committed Oct 26, 2023
1 parent ea3bdb3 commit c49efec
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions tests/testthat/test-getquickstat.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ test_that("getQuickstat1", {

})

Sys.sleep(1)

test_that("getQuickstat2", {


Expand All @@ -42,6 +44,8 @@ raw <- getQuickstat(key = '7CE0AFAD-EF7B-3761-8B8C-6AF474D6EF71',

})

Sys.sleep(1)

test_that("getQuickstat3", {


Expand All @@ -60,6 +64,8 @@ test_that("getQuickstat3", {

})

Sys.sleep(1)

test_that("getQuickstat4", {


Expand All @@ -76,6 +82,8 @@ test_that("getQuickstat4", {

})

Sys.sleep(1)

test_that("getQuickstat5", {


Expand All @@ -93,6 +101,7 @@ test_that("getQuickstat5", {

})

Sys.sleep(1)

test_that("weighted by mile", {

Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/test-getquickstat_multiple_geogs.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test_that("getMultStates", {

})


Sys.sleep(1)

test_that("getMultCounties", {

Expand Down Expand Up @@ -55,7 +55,7 @@ test_that("getMultCounties", {
})



Sys.sleep(1)

test_that("getMultStatesCounties", {

Expand All @@ -82,4 +82,4 @@ test_that("getMultStatesCounties", {



})
})

0 comments on commit c49efec

Please sign in to comment.