|
13 | 13 | logger = logging.getLogger(__name__) |
14 | 14 |
|
15 | 15 | current_dir = os.path.abspath(os.path.dirname(__file__)) |
16 | | -example_dir = os.path.join('../../', current_dir) |
| 16 | +example_dir = os.path.abspath(os.path.join(current_dir, '..', '..')) |
17 | 17 |
|
18 | | -print(example_dir) |
19 | | -logger.error(example_dir) |
20 | 18 |
|
21 | 19 | class TwoPaneTest(TmuxTestCase): |
22 | 20 |
|
@@ -275,45 +273,5 @@ def test_automatic_rename_option(self): |
275 | 273 | self.assertNotEqual(w.get('window_name'), 'man') |
276 | 274 |
|
277 | 275 |
|
278 | | -class TestsToDo(object): |
279 | | - |
280 | | - def test_uses_first_window_if_exists(self): |
281 | | - ''' |
282 | | - if the session is already on the first window, use that. |
283 | | -
|
284 | | - this is useful if the user is already inside of a tmux session |
285 | | - ''' |
286 | | - |
287 | | - def test_same_session_already_exists_unclean(self): |
288 | | - ''' |
289 | | - raise exception if session_name already exists and has multiple |
290 | | - windows the user could potentially be offered to add a cli argument to |
291 | | - override the session_name in config. Perhaps `-n` could be used to load |
292 | | - a config from file with overridden session_name. |
293 | | - ''' |
294 | | - |
295 | | - def test_inside_tmux_same_session_already_exists(self): |
296 | | - ''' same as above, but when the config file and the current $TMUX |
297 | | - session are the same ''' |
298 | | - |
299 | | - def test_inside_tmux_no_session_name_exists(self): |
300 | | - ''' |
301 | | - if the session_name doesn't currently exist and the user is in tmux |
302 | | - rename the current session by the config / -n and build there. |
303 | | - ''' |
304 | | - |
305 | | - def testPaneProportions(self): |
306 | | - """ |
307 | | - todo. checking the proportions of a pane on a grid allows |
308 | | - us to verify a window has been build correctly without |
309 | | - needing to see the tmux session itself. |
310 | | -
|
311 | | - we expect panes in a list to be ordered and show up to |
312 | | - their corresponding pane_index. |
313 | | - """ |
314 | | - pass |
315 | | - |
316 | | - |
317 | 276 | if __name__ == '__main__': |
318 | | - # t.socket_name = 'tmuxp_test' |
319 | 277 | unittest.main() |
0 commit comments