SVN project detection not supported on Windows because opens too many pythonw.exe cmd windows
This commit is contained in:
parent
f23b9cd9ef
commit
413dad06ff
1 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,7 @@ from wakatime.packages.requests.models import Response
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
import platform
|
||||||
import shutil
|
import shutil
|
||||||
import sys
|
import sys
|
||||||
import tempfile
|
import tempfile
|
||||||
|
@ -214,7 +215,8 @@ class ProjectTestCase(utils.TestCase):
|
||||||
|
|
||||||
execute(args)
|
execute(args)
|
||||||
|
|
||||||
self.assertEquals('svn', self.patched['wakatime.offlinequeue.Queue.push'].call_args[0][0]['project'])
|
expected = None if platform.system() == 'Windows' else 'svn'
|
||||||
|
self.assertEquals(expected, self.patched['wakatime.offlinequeue.Queue.push'].call_args[0][0].get('project'))
|
||||||
|
|
||||||
def test_svn_exception_handled(self):
|
def test_svn_exception_handled(self):
|
||||||
response = Response()
|
response = Response()
|
||||||
|
|
Loading…
Reference in a new issue