chore: import official kitty sources from upstream
Bring the kovidgoyal/kitty codebase in as the base of FWS-Kitty, vendored at upstream commit 91fb38a without its git history.
This commit is contained in:
commit
7e7d249099
1134 files changed
+433629
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import subprocess
|
||||
|
||||
from kitty.fast_data_types import num_users
|
||||
|
||||
from .base import BaseTest
|
||||
|
||||
|
||||
class UTMPTest(BaseTest):
|
||||
def test_num_users(self):
|
||||
# who is the control
|
||||
try:
|
||||
expected = subprocess.check_output(['who']).decode('utf-8').count('\n')
|
||||
except FileNotFoundError:
|
||||
self.skipTest('No who executable cannot verify num_users')
|
||||
else:
|
||||
self.ae(num_users(), expected)
|
||||
Reference in new issue
Block a user