Skip to content

Commit

Permalink
Skip StatsD test with raw install
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Oct 9, 2024
1 parent 507bf64 commit 3bb567c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/core/test_initialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import kinto.core
from kinto.core import initialization
from kinto.core.testing import unittest
from kinto.core.testing import skip_if_no_statsd, unittest


class InitializationTest(unittest.TestCase):
Expand Down Expand Up @@ -292,6 +292,7 @@ def unexpected_exceptions_are_reported(self):
assert len(mocked.call_args_list) > 0


@skip_if_no_statsd
class StatsDConfigurationTest(unittest.TestCase):
settings = {
**kinto.core.DEFAULT_SETTINGS,
Expand Down
1 change: 1 addition & 0 deletions tests/plugins/test_statsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from ..support import BaseWebTest


@skip_if_no_statsd
class StatsDIncludeTest(unittest.TestCase):
def setUp(self):
settings = {
Expand Down

0 comments on commit 3bb567c

Please sign in to comment.