We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0cc0f5 commit c37453bCopy full SHA for c37453b
tests/test_app.py
@@ -1,6 +1,7 @@
1
# -*- coding: utf-8 -*-
2
import os
3
from unittest.mock import patch
4
+
5
from PySide6.QtTest import QSignalSpy, QTest
6
7
from qgitc.gitutils import Git, GitProcess
@@ -59,6 +60,10 @@ def testUpdateRepo(self):
59
60
self.app.updateRepoDir(oldRepoDir)
61
self.assertEqual(spy.count(), 2)
62
63
+ if self.app._findSubmoduleThread and self.app._findSubmoduleThread.isRunning():
64
+ self.app._findSubmoduleThread.requestInterruption()
65
+ self.app._findSubmoduleThread.wait()
66
67
68
class TestAppNoRepo(TestBase):
69
def doCreateRepo(self):
0 commit comments