File: skip_test_that_posts_to_internet.patch

package info (click to toggle)
r-cran-httr2 1.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,604 kB
  • sloc: sh: 21; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 440 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Andreas Tille <tille@debian.org>
Last-Update: Fri, 13 Jan 2023 11:02:18 +0100
Description: Do not post to the internet

--- a/tests/testthat/test-req-body.R
+++ b/tests/testthat/test-req-body.R
@@ -14,6 +14,7 @@ test_that("can send file", {
 })
 
 test_that("can send string", {
+  skip("Skip on Debian since we can't post")
   resp <- request_test("/post") %>%
     req_body_raw("test", type = "text/plain") %>%
     req_perform()