MCPcopy Create free account
hub / github.com/TimMcCool/scratchattach / test_project

Function test_project

tests/test_editor_integration.py:7–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6
7def test_project():
8 if not util.credentials_available():
9 warnings.warn(
10 "Skipped test_project because there were no credentials available."
11 )
12 return
13 sess = util.session()
14
15 project = sess.connect_project(104)
16 body = project.body()
17 body.to_json() # do nothing with the data, just make sure it works.
18
19
20if __name__ == "__main__":

Callers 1

Calls 4

sessionMethod · 0.80
connect_projectMethod · 0.80
bodyMethod · 0.80
to_jsonMethod · 0.45

Tested by

no test coverage detected