Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-core
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
Model registry
Operate
Environments
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
Platform
Development
swh-core
Commits
31731b3f
Commit
31731b3f
authored
5 years ago
by
David Douard
Browse files
Options
Downloads
Patches
Plain Diff
fix several typos detected by codespell
parent
9078d279
No related branches found
Branches containing commit
Tags
swh-loader-highpriority-20230203.1
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
swh/core/db/tests/db_testing.py
+1
-1
1 addition, 1 deletion
swh/core/db/tests/db_testing.py
swh/core/tests/test_statsd.py
+1
-1
1 addition, 1 deletion
swh/core/tests/test_statsd.py
with
2 additions
and
2 deletions
swh/core/db/tests/db_testing.py
+
1
−
1
View file @
31731b3f
...
...
@@ -45,7 +45,7 @@ def pg_restore(dbname, dumpfile, dumptype='pg_dump'):
"""
Args:
dbname: name of the DB to restore into
dumpfile: path
f
o the dump file
dumpfile: path o
f
the dump file
dumptype: one of
'
pg_dump
'
(for binary dumps),
'
psql
'
(for SQL dumps)
"""
assert
dumptype
in
[
'
pg_dump
'
,
'
psql
'
]
...
...
This diff is collapsed.
Click to expand it.
swh/core/tests/test_statsd.py
+
1
−
1
View file @
31731b3f
...
...
@@ -175,7 +175,7 @@ class TestStatsd(unittest.TestCase):
self
.
statsd
.
gauge
(
'
gauge
'
,
123.4
)
self
.
assertEqual
(
'
foo.gauge:123.4|g
'
,
self
.
recv
())
# Test Client level contant tags
# Test Client level con
s
tant tags
def
test_gauge_constant_tags
(
self
):
self
.
statsd
.
constant_tags
=
{
'
bar
'
:
'
baz
'
,
...
...
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