mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Package the standalone NERD font
This commit is contained in:
@@ -54,11 +54,13 @@ class TestBuild(BaseTest):
|
||||
self.assertGreater(len(names), 8)
|
||||
|
||||
def test_filesystem_locations(self) -> None:
|
||||
from kitty.constants import local_docs, logo_png_file, shell_integration_dir, terminfo_dir
|
||||
from kitty.constants import fonts_dir, local_docs, logo_png_file, shell_integration_dir, terminfo_dir
|
||||
zsh = os.path.join(shell_integration_dir, 'zsh')
|
||||
self.assertTrue(os.path.isdir(terminfo_dir), f'Terminfo dir: {terminfo_dir}')
|
||||
self.assertTrue(os.path.exists(logo_png_file), f'Logo file: {logo_png_file}')
|
||||
self.assertTrue(os.path.exists(zsh), f'Shell integration: {zsh}')
|
||||
nsfm = os.path.join(fonts_dir, 'SymbolsNerdFontMono-Regular.ttf')
|
||||
self.assertTrue(os.path.exists(nsfm), f'Logo file: {nsfm}')
|
||||
|
||||
def is_executable(x):
|
||||
mode = os.stat(x).st_mode
|
||||
|
||||
Reference in New Issue
Block a user