test(01-02): add failing tests for provider schema validation and registry
This commit is contained in:
2
testdata/samples/anthropic_key.txt
vendored
Normal file
2
testdata/samples/anthropic_key.txt
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# Test file: synthetic Anthropic key pattern
|
||||
export ANTHROPIC_API_KEY="sk-ant-api03-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxy01234567890-ABCDE"
|
||||
3
testdata/samples/multiple_keys.txt
vendored
Normal file
3
testdata/samples/multiple_keys.txt
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# Multiple providers in one file
|
||||
OPENAI_API_KEY=sk-proj-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqr5678
|
||||
ANTHROPIC_API_KEY=sk-ant-api03-XYZabcdefghijklmnopqrstuvwxyz01234567890ABCDEFGH-XYZAB
|
||||
3
testdata/samples/no_keys.txt
vendored
Normal file
3
testdata/samples/no_keys.txt
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# This file contains no API keys
|
||||
# Used to verify false-positive rate is zero for clean files
|
||||
Hello world
|
||||
2
testdata/samples/openai_key.txt
vendored
Normal file
2
testdata/samples/openai_key.txt
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# Test file: synthetic OpenAI key pattern
|
||||
OPENAI_API_KEY=sk-proj-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqr1234
|
||||
Reference in New Issue
Block a user