Skip to content

Commit

Permalink
Hardcode API_URL in tests, cleanup README
Browse files Browse the repository at this point in the history
  • Loading branch information
fulder committed Jul 28, 2020
1 parent d825ba5 commit 7e18495
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@

## Apitest

* `export API_URL=<WATCH_HISTORY_API_URL>`
* `export TOKEN=<TEST_USER_TOKEN>`
* `make apitest`

# Deploy

* `export ANIME_API_URL=<ANIME_API_URL>`
* `cdk deploy`
2 changes: 1 addition & 1 deletion test/apitest/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os

API_URL = os.getenv("API_URL")
API_URL = "https://api.watch-history.moshan.tv"
BASE_HEADERS = {
"Authorization": os.getenv("TOKEN")
}

0 comments on commit 7e18495

Please sign in to comment.