| Index: third_party/typ/typ/tests/host_test.py
|
| diff --git a/third_party/typ/typ/tests/host_test.py b/third_party/typ/typ/tests/host_test.py
|
| index 50db37f5a146cdeaf56285caae5c77a6fcc90c3c..a06085ac3c3d2de76bc53ef4e7351b995d112d3e 100644
|
| --- a/third_party/typ/typ/tests/host_test.py
|
| +++ b/third_party/typ/typ/tests/host_test.py
|
| @@ -130,6 +130,12 @@ class TestHost(unittest.TestCase):
|
| self.assertEqual(h.basename('foo.txt'), 'foo.txt')
|
| self.assertEqual(h.basename('foo/bar.txt'), 'bar.txt')
|
|
|
| + def test_mktempfile(self, delete=False):
|
| + h = self.host()
|
| + f= h.mktempfile()
|
| + f.close()
|
| + self.assertNotEqual(f.name, None)
|
| +
|
| def test_splitext(self):
|
| h = self.host()
|
| self.assertEqual(h.splitext('foo'), ('foo', ''))
|
|
|