mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2025-12-18 21:25:11 +01:00
First step in making gpt-engineer learn. Rename main_prompt -> prompt (#381)
* First step in collecting learnings * Rename prompts * remove requirements, use pip install -e . instead * Add requirements * Fix tests
This commit is contained in:
@@ -44,7 +44,7 @@ def test_DBs_initialization(tmp_path):
|
||||
|
||||
|
||||
def test_invalid_path():
|
||||
with pytest.raises(PermissionError):
|
||||
with pytest.raises((PermissionError, OSError)):
|
||||
# Test with a path that will raise a permission error
|
||||
DB("/root/test")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user