Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mlco2/codecarbon
/ get_test_data_source
Function
get_test_data_source
tests/testutils.py:19–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
18
19
def
get_test_data_source() -> DataSource:
20
return
DataSource()
21
22
23
def
get_custom_mock_open(global_conf_str, local_conf_str) -> callable:
Callers
3
setUp
Method · 0.90
setUp
Method · 0.90
setUp
Method · 0.90
Calls
1
DataSource
Class · 0.90
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…