Skip to content

Commit 7c59dbf

Browse files
authored
Merge pull request #252 from ecmwf-projects/COPDS-2648
get anonymous pat from env var
2 parents c6d54a0 + b10cea9 commit 7c59dbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration_test_10_clients.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
import os
1516
import time
1617
import urllib.parse
1718
import uuid
@@ -63,7 +64,7 @@
6364
}
6465
TEST_PAT_1 = "00000000-0000-4000-a000-000000000000"
6566
TEST_PAT_2 = "00000000-0000-3000-abcd-000000000001"
66-
TEST_PAT_ANON = "00112233-4455-6677-c899-aabbccddeeff"
67+
TEST_PAT_ANON = os.getenv("ANONYMOUS_PAT", "00112233-4455-6677-c899-aabbccddeeff")
6768
INVALID_PAT = "0123"
6869
AUTH_HEADERS_VALID_1 = {"PRIVATE-TOKEN": TEST_PAT_1}
6970
AUTH_HEADERS_VALID_2 = {"PRIVATE-TOKEN": TEST_PAT_2}

0 commit comments

Comments
 (0)