Skip to content

Commit dba5429

Browse files
committed
Give workspace_builder automatic-rename test more time
1 parent 4d2c39b commit dba5429

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tmuxp/testsuite/test_workspacebuilder.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212

1313
logger = logging.getLogger(__name__)
1414

15+
current_dir = os.path.abspath(os.path.dirname(__file__))
16+
example_dir = os.path.join('../../', current_dir)
17+
18+
print(example_dir)
19+
logger.error(example_dir)
1520

1621
class TwoPaneTest(TmuxTestCase):
1722

@@ -256,7 +261,7 @@ def test_automatic_rename_option(self):
256261
w = s.attached_window()
257262
if w['window_name'] == 'man':
258263
break
259-
time.sleep(.01)
264+
time.sleep(.1)
260265

261266
self.assertEqual(w.get('window_name'), 'man')
262267

@@ -265,7 +270,7 @@ def test_automatic_rename_option(self):
265270
w = s.attached_window()
266271
if w['window_name'] != 'man':
267272
break
268-
time.sleep(.01)
273+
time.sleep(.1)
269274

270275
self.assertNotEqual(w.get('window_name'), 'man')
271276

0 commit comments

Comments
 (0)