diff --git a/twisted/scripts/test/test_tap2rpm.py b/twisted/scripts/test/test_tap2rpm.py
index dd7727d..e6aeefe 100644
|
a
|
b
|
|
| 4 | 4 | """ |
| 5 | 5 | Tests for L{twisted.scripts.tap2rpm}. |
| 6 | 6 | """ |
| | 7 | import os |
| 7 | 8 | from twisted.trial.unittest import TestCase, SkipTest |
| 8 | 9 | from twisted.python import procutils |
| 9 | 10 | from twisted.python.failure import Failure |
| … |
… |
|
| 364 | 365 | )) |
| 365 | 366 | |
| 366 | 367 | return d |
| | 368 | |
| | 369 | |
| | 370 | def test_tapInOtherDirectory(self): |
| | 371 | """ |
| | 372 | tap2rpm handles tapfiles outside the current directory. |
| | 373 | """ |
| | 374 | # Make a tapfile outside the current directory. |
| | 375 | tempdir = self.mktemp() |
| | 376 | os.mkdir(tempdir) |
| | 377 | tapfile = self._makeTapFile(os.path.join(tempdir, "bacon")) |
| | 378 | |
| | 379 | # Try and make an RPM from that tapfile. |
| | 380 | _makeRPMs(tapfile=tapfile) |
| | 381 | |