update
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from flow.core.containers import ContainerRuntime
|
||||
from flow.core.runtime import CommandRunner, FileSystem, GitClient, SystemRuntime
|
||||
from flow.core.tmux import TmuxClient
|
||||
|
||||
|
||||
class TestFileSystem:
|
||||
@@ -93,3 +95,13 @@ class TestSystemRuntime:
|
||||
rt = SystemRuntime()
|
||||
assert isinstance(rt.git, GitClient)
|
||||
assert rt.git.runner is rt.runner
|
||||
|
||||
def test_creates_tmux_client(self):
|
||||
rt = SystemRuntime()
|
||||
assert isinstance(rt.tmux, TmuxClient)
|
||||
assert rt.tmux.runner is rt.runner
|
||||
|
||||
def test_creates_container_runtime(self):
|
||||
rt = SystemRuntime()
|
||||
assert isinstance(rt.containers, ContainerRuntime)
|
||||
assert rt.containers.runner is rt.runner
|
||||
|
||||
Reference in New Issue
Block a user