Replicating user-reported error.

Tests now run in a path with a smiley emoji in it.  #BITBUCKET-3836
This commit is contained in:
James Douglass 2019-01-23 10:31:15 -08:00
parent 4505d1659b
commit 63c131ae93
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
# coding=UTF-8
"""Module for Regression Testing the InVEST Carbon model."""
import unittest
import tempfile
@ -80,7 +81,7 @@ class CarbonTests(unittest.TestCase):
"""Override setUp function to create temp workspace directory."""
# this lets us delete the workspace after its done no matter the
# the rest result
self.workspace_dir = tempfile.mkdtemp()
self.workspace_dir = tempfile.mkdtemp(suffix=u'\U0001f60e') # smiley
def tearDown(self):
"""Override tearDown function to remove temporary directory."""