Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/doccano/doccano
/ _assert_user_is
Method
_assert_user_is
backend/api/tests/test_config.py:35–37 ·
view source on GitHub ↗
(self, expected)
Source
from the content-addressed store, hash-verified
33
self.assertEqual(actual, expected)
34
35
def
_assert_user_is(self, expected):
36
actual = settings.DATABASES[
"default"
].get(
"USER"
,
""
)
37
self.assertEqual(actual, expected)
38
39
40
@contextmanager
Callers
1
test_database_url_with_complex_user
Method · 0.95
Calls
1
get
Method · 0.45
Tested by
no test coverage detected