-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: exclude Samba vendor and mock files from TiCS scan (#995)
These are either vendored files or mocks used in tests, they should not impact the TiCS coverage report. Part of UDENG-2759 (still need to handle the Samba auto-update workflow)
- Loading branch information
Showing
6 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
internal/policies/certificate/python/vendor_samba/gp/gp_cert_auto_enroll_ext.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# TiCS: disabled # generated by CI auto-update workflow | ||
|
||
# gp_cert_auto_enroll_ext samba group policy | ||
# Copyright (C) David Mulder <[email protected]> 2021 | ||
# | ||
|
2 changes: 2 additions & 0 deletions
2
internal/policies/certificate/python/vendor_samba/gp/gpclass.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# TiCS: disabled # generated by CI auto-update workflow | ||
|
||
# Reads important GPO parameters and updates Samba | ||
# Copyright (C) Luke Morrison <[email protected]> 2013 | ||
# | ||
|
2 changes: 2 additions & 0 deletions
2
internal/policies/certificate/python/vendor_samba/gp/util/logging.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# TiCS: disabled # generated by CI auto-update workflow | ||
|
||
# | ||
# samba-gpupdate enhanced logging | ||
# | ||
|
2 changes: 2 additions & 0 deletions
2
internal/testutils/admock/vendor_samba/gp/gp_cert_auto_enroll_ext.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# TiCS: disabled # samba mock | ||
|
||
import os | ||
|
||
class gp_cert_auto_enroll_ext(object): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# TiCS: disabled # samba mock | ||
|
||
import os | ||
|
||
def GPOStorage(state_file): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# TiCS: disabled # samba mock | ||
|
||
def logger_init(_name, _level): | ||
pass | ||
|
||
|