Mercurial > p > roundup > code
comparison test/test_config.py @ 7584:a5629f6e7ec2
test: fix mising / in directory spec.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 24 Jul 2023 18:07:11 -0400 |
| parents | 273c8c2b5042 |
| children | be6cb2e0d471 |
comparison
equal
deleted
inserted
replaced
| 7583:4cfaddc2d53e | 7584:a5629f6e7ec2 |
|---|---|
| 222 config = configuration.CoreConfig() | 222 config = configuration.CoreConfig() |
| 223 # make scratch directory to create files in | 223 # make scratch directory to create files in |
| 224 | 224 |
| 225 self.startdir = os.getcwd() | 225 self.startdir = os.getcwd() |
| 226 | 226 |
| 227 self.dirname = os.getcwd() + '_test_config' | 227 self.dirname = os.getcwd() + '/_test_config' |
| 228 os.mkdir(self.dirname) | 228 os.mkdir(self.dirname) |
| 229 | 229 |
| 230 try: | 230 try: |
| 231 os.chdir(self.dirname) | 231 os.chdir(self.dirname) |
| 232 self.assertFalse(os.access("config.ini", os.F_OK)) | 232 self.assertFalse(os.access("config.ini", os.F_OK)) |
