mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44:59 +00:00
simpler, faster run just failing test
This commit is contained in:
parent
e107819085
commit
f3af05f3ee
2 changed files with 1 additions and 8 deletions
6
.github/workflows/windows-tests.yml
vendored
6
.github/workflows/windows-tests.yml
vendored
|
@ -19,10 +19,6 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install universal ctags
|
||||
run: |
|
||||
choco install universal-ctags
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
|
@ -30,4 +26,4 @@ jobs:
|
|||
|
||||
- name: Run tests
|
||||
run: |
|
||||
python -m unittest discover -s tests
|
||||
python -m unittest discover -s tests -k test_main_with_empty_git_dir_new_file -v
|
||||
|
|
|
@ -34,9 +34,6 @@ class TestMain(TestCase):
|
|||
self.assertTrue(os.path.exists("foo.txt"))
|
||||
|
||||
def test_main_with_empty_git_dir_new_file(self):
|
||||
tempdir = tempfile.mkdtemp()
|
||||
os.chdir(tempdir)
|
||||
|
||||
subprocess.run(["git", "init"])
|
||||
subprocess.run(["git", "config", "user.email", "dummy@example.com"])
|
||||
subprocess.run(["git", "config", "user.name", "Dummy User"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue