Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
ots-blog
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ots
ots-blog
Commits
289f7c49
Commit
289f7c49
authored
1 year ago
by
James Vasile
Browse files
Options
Downloads
Patches
Plain Diff
Move common test config to importable file
parent
c98412ca
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
tests/__init__.py
+0
-0
0 additions, 0 deletions
tests/__init__.py
tests/t_sidebar.py
+6
-2
6 additions, 2 deletions
tests/t_sidebar.py
tests/t_uncategorized.py
+6
-2
6 additions, 2 deletions
tests/t_uncategorized.py
tests/testconf.py
+3
-0
3 additions, 0 deletions
tests/testconf.py
with
15 additions
and
4 deletions
tests/__init__.py
0 → 100644
+
0
−
0
View file @
289f7c49
This diff is collapsed.
Click to expand it.
tests/t_sidebar.py
+
6
−
2
View file @
289f7c49
PORT
=
8000
from
bs4
import
BeautifulSoup
as
Soup
import
os
import
subprocess
import
sys
import
pytest
import
psutil
import
requests
sys
.
path
.
append
(
os
.
curdir
)
# Read common test config
from
.testconf
import
*
site_rebuilt
=
False
@pytest.fixture
...
...
This diff is collapsed.
Click to expand it.
tests/t_uncategorized.py
+
6
−
2
View file @
289f7c49
PORT
=
8000
from
bs4
import
BeautifulSoup
as
Soup
import
os
import
subprocess
import
sys
import
pytest
import
psutil
import
requests
sys
.
path
.
append
(
os
.
curdir
)
# Read common test config
from
.testconf
import
*
site_rebuilt
=
False
@pytest.fixture
...
...
This diff is collapsed.
Click to expand it.
tests/testconf.py
0 → 100644
+
3
−
0
View file @
289f7c49
PORT
=
8000
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment