mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-13 09:52:00 -04:00
manager/user: Only enable HdmiCec1 if plasma-remotecontrollers.service exists
This commit is contained in:
parent
7dc0d0969d
commit
1de2109c6d
2 changed files with 27 additions and 6 deletions
|
@ -173,7 +173,7 @@ pub fn escape(name: &str) -> String {
|
|||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
pub mod test {
|
||||
use super::*;
|
||||
use crate::error::to_zbus_fdo_error;
|
||||
use crate::{enum_roundtrip, testing};
|
||||
|
@ -201,14 +201,14 @@ mod test {
|
|||
}
|
||||
|
||||
#[derive(Default)]
|
||||
struct MockUnit {
|
||||
active: String,
|
||||
unit_file: String,
|
||||
pub struct MockUnit {
|
||||
pub active: String,
|
||||
pub unit_file: String,
|
||||
job: u32,
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
struct MockManager {
|
||||
pub struct MockManager {
|
||||
states: HashMap<String, EnableState>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue