Skip to content

Commit

Permalink
test var overide
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmst committed Dec 17, 2024
1 parent 604c6f3 commit 60600d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bloom_nofos/nofos/api/tests.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
from django.test import TestCase
from django.test import TestCase, override_settings
from django.conf import settings
from nofos.models import Nofo, Section, Subsection
import json
import os


@override_settings(API_TOKEN="test-token-for-ci")
class NofoAPITest(TestCase):
def setUp(self):
self.valid_token = settings.API_TOKEN
self.valid_token = "test-token-for-ci"
self.headers = {
"HTTP_AUTHORIZATION": f"Bearer {self.valid_token}",
}
Expand Down

0 comments on commit 60600d8

Please sign in to comment.