mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Rename test functions to specify that they are testing FSClient
The original draft of these tests was class-based, with the class name describing that the tests were for FSClient. With the class removed, this should be in the test name.
This commit is contained in:
parent
063adf0493
commit
b223b135f9
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ import salt.fileclient as fileclient
|
|||
from tests.support.mock import MagicMock, patch
|
||||
|
||||
|
||||
def test_master_no_fs_update(master_opts):
|
||||
def test_fsclient_master_no_fs_update(master_opts):
|
||||
"""
|
||||
Test that an FSClient spawned from the master does not cause fileserver
|
||||
backends to be refreshed on instantiation. The master already has the
|
||||
|
@ -18,7 +18,7 @@ def test_master_no_fs_update(master_opts):
|
|||
assert client.channel.fs.update.call_count == 0
|
||||
|
||||
|
||||
def test_masterless_fs_update(minion_opts):
|
||||
def test_fsclient_masterless_fs_update(minion_opts):
|
||||
"""
|
||||
Test that an FSClient spawned from a masterless run refreshes the
|
||||
fileserver backends. This is necessary to ensure that a masterless run
|
||||
|
|
Loading…
Add table
Reference in a new issue