MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/openevolve / setUp

Method setUp

tests/test_database.py:14–18  ·  view source on GitHub ↗

Set up test database

(self)

Source from the content-addressed store, hash-verified

12 """Tests for program database"""
13
14 def setUp(self):
15 """Set up test database"""
16 config = Config()
17 config.database.in_memory = True
18 self.db = ProgramDatabase(config.database)
19
20 def test_add_and_get(self):
21 """Test adding and retrieving a program"""

Callers

nothing calls this directly

Calls 2

ConfigClass · 0.90
ProgramDatabaseClass · 0.90

Tested by

no test coverage detected