Skip to content

Commit cce94eb

Browse files
authored
Merge pull request #134 from Ekopalypse/AddNewNpp780Test
add new, npp 7.8 related, test
2 parents e3931b6 + dd5279c commit cce94eb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

PythonScript/python_tests/tests/NotepadWrapperTestCase.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,6 +1408,12 @@ def start_monitor():
14081408
self.assertIsNone(notepad.triggerTabbarContextMenu(0,0))
14091409

14101410

1411+
def test_getPluginHomePath(self):
1412+
''' Check if string plugins is the last part of the returned path '''
1413+
self.__test_invalid_parameter_passed(notepad.getPluginHomePath)
1414+
_, _, plugin_dir = notepad.getPluginHomePath().rpartition('\\')
1415+
self.assertTrue('plugins' == plugin_dir)
1416+
14111417

14121418
if __name__ == '__main__':
14131419
suite = unittest.TestLoader().loadTestsFromTestCase(NotepadTestCase)

0 commit comments

Comments
 (0)