MCPcopy Create free account
hub / github.com/dwavesystems/dwave-cloud-client / test_cache_dir

Method test_cache_dir

tests/test_config.py:512–516  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

510 self.assertEqual(_solver_identity_as_id({'name': 'name', 'version': None}), 'name')
511
512 def test_cache_dir(self):
513 path = get_cache_dir(create=True)
514 self.assertTrue(os.path.isdir(path))
515 self.assertIn(__packagename__, path)
516 self.assertIn(__version__, path)
517
518 def test_config_update_simple_override(self):
519 config = {'token': 1}

Callers

nothing calls this directly

Calls 1

get_cache_dirFunction · 0.90

Tested by

no test coverage detected