Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github gists returns 401 #33

Open
etu opened this issue Aug 16, 2018 · 0 comments · May be fixed by #57
Open

Github gists returns 401 #33

etu opened this issue Aug 16, 2018 · 0 comments · May be fixed by #57

Comments

@etu
Copy link
Owner

etu commented Aug 16, 2018

cask exec buttercup -L . tests/integration/ 
Loading /home/etu/code/webpaste.el/tests/load-undercover.el (source)...
Running 6 specs.

Test provider with dummy data so it
  ci: can paste with ptpb.pw
  ci: can paste with ix.io
  ci: can paste with dpaste.com
  ci: can paste with dpaste.de
  local: can paste with gist.github.comGot error: (error http 401)
  local: can paste with gist.github.com  FAILED
  ci: can paste with paste.pound-python.org

========================================
Test provider with dummy data so it local: can paste with gist.github.com

Traceback (most recent call last):
  (buttercup-fail "%s" "Expected `(spy-calls-count (quote webpaste--return-u...
  (signal buttercup-failed "Expected `(spy-calls-count (quote webpaste--retu...
FAILED: Expected `(spy-calls-count (quote webpaste--return-url))' to be `equal' to `1', but instead it was `0' which does not match because: (different-atoms (0 "#x0" "?") (1 "#x1" "?�")).

Ran 6 specs, 1 failed, in 8.8 seconds.

make: *** [Makefile:24: integration] Error 255

Create gist API docs: https://developer.github.com/v3/gists/#create-a-gist

I think the request needs to be authenticated or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant