Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
merge default -> production
Browse files Browse the repository at this point in the history
--HG--
branch : production
  • Loading branch information
escapewindow committed Apr 10, 2013
2 parents 9d3c19c + 4bfcab1 commit 67f712a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
4 changes: 3 additions & 1 deletion test/helper_files/.hgrc
Expand Up @@ -6,10 +6,12 @@ share =
convert =
transplant =
bookmarks =
hggit =
pager =
purge =

[format]
dotencode = 0

[ui]
username = Client Builder <cltbld@mozilla.com>
merge = internal:merge
Expand Down
9 changes: 9 additions & 0 deletions test/test_base_script.py
Expand Up @@ -45,6 +45,7 @@ def setUp(self):
self.s = None

def tearDown(self):
# Close the logfile handles, or windows can't remove the logs
if hasattr(self, 's') and isinstance(self.s, object):
del(self.s)
cleanup()
Expand Down Expand Up @@ -147,6 +148,7 @@ def setUp(self):
self.s = None

def tearDown(self):
# Close the logfile handles, or windows can't remove the logs
if hasattr(self, 's') and isinstance(self.s, object):
del(self.s)
cleanup()
Expand Down Expand Up @@ -288,6 +290,7 @@ def setUp(self):
self.s = None

def tearDown(self):
# Close the logfile handles, or windows can't remove the logs
if hasattr(self, 's') and isinstance(self.s, object):
del(self.s)
cleanup()
Expand Down Expand Up @@ -392,6 +395,12 @@ def setUp(self):
self.ATTEMPT_N = 1
self.s = script.BaseScript(initial_config_file='test/test.json')

def tearDown(self):
# Close the logfile handles, or windows can't remove the logs
if hasattr(self, 's') and isinstance(self.s, object):
del(self.s)
cleanup()

def _succeedOnSecondAttempt(self, foo=None, exception=Exception):
if self.ATTEMPT_N == 2:
self.ATTEMPT_N += 1
Expand Down
2 changes: 1 addition & 1 deletion unit.sh
Expand Up @@ -83,6 +83,6 @@ if [ $OS_TYPE != 'windows' ] ; then
fi
else
echo "### Running nosetests..."
nosetests
nosetests test/
fi
rm -rf build logs

0 comments on commit 67f712a

Please sign in to comment.