Skip to content

Commit

Permalink
Fix tests?
Browse files Browse the repository at this point in the history
  • Loading branch information
Matvey-Kuk committed Sep 29, 2024
1 parent 6455c72 commit 9c00fce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/docs_get_providers_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
`
cd scripts
python docs_get_providers_list.py | pbcopy
python docs_get_providers_list.py --validate # To check docs/providers/overview.mdx
python docs_get_providers_list.py --validate # To check docs/providers/overview.mdx and if all providers are documented.
"""

import argparse
import glob
import os
import re
import sys

LOGO_DEV_PUBLISHABLE_KEY = "pk_dfXfZBoKQMGDTIgqu7LvYg"

Expand Down Expand Up @@ -47,6 +48,8 @@ def validate_overview_is_complete(documented_providers):


def validate_all_providers_are_documented(documented_providers):
sys.path.insert(0, '..')

documented_providers = [provider.lower() for provider in documented_providers]
from keep.providers.providers_factory import ProvidersFactory
for provider in ProvidersFactory.get_all_providers():
Expand Down

0 comments on commit 9c00fce

Please sign in to comment.