mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
renamed get_entries to get_plays
This commit is contained in:
parent
349ecf6efe
commit
2eb2a41d05
2 changed files with 2 additions and 2 deletions
|
@ -81,5 +81,5 @@ class Playbook:
|
|||
def get_loader(self):
|
||||
return self._loader
|
||||
|
||||
def get_entries(self):
|
||||
def get_plays(self):
|
||||
return self._entries[:]
|
||||
|
|
|
@ -47,7 +47,7 @@ class TestPlaybook(unittest.TestCase):
|
|||
""",
|
||||
})
|
||||
p = Playbook.load("test_file.yml", loader=fake_loader)
|
||||
entries = p.get_entries()
|
||||
plays = p.get_plays()
|
||||
|
||||
def test_bad_playbook_files(self):
|
||||
fake_loader = DictDataLoader({
|
||||
|
|
Loading…
Reference in a new issue