You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`CONFLUENCE_URL`: The URL of your Confluence instance
24
+
-`CONFLUENCE_USERNAME`: Your Confluence username (usually an email)
25
+
-`CONFLUENCE_API_TOKEN`: Your Confluence API token (can be generated in your Atlassian account settings)
26
+
-`CONFLUENCE_SPACE_KEY`: The key of a space in your Confluence instance that you have access to
27
+
28
+
### Step 2: Install required packages
29
+
30
+
Make sure you have all required packages installed:
31
+
32
+
```
33
+
pip install -r requirements-dev.txt
34
+
```
35
+
36
+
### Step 3: Run the scripts
37
+
38
+
Now you can run the test scripts:
39
+
40
+
```
41
+
python test_search.py
42
+
python test_pages.py
43
+
```
44
+
45
+
## Security Note
46
+
47
+
The `.env` file is listed in `.gitignore` to prevent accidentally committing your credentials to the repository. Never commit your credentials directly in code files.
48
+
49
+
If you need to find available spaces to use for testing, you can run:
50
+
51
+
```
52
+
python get_valid_spaces.py
53
+
```
54
+
55
+
This will output a list of spaces that you have access to, which can be used for the `CONFLUENCE_SPACE_KEY` environment variable.
0 commit comments