1
0
Fork 0
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:
Brian Coca 2015-04-04 10:24:03 -04:00
parent 349ecf6efe
commit 2eb2a41d05
2 changed files with 2 additions and 2 deletions

View file

@ -81,5 +81,5 @@ class Playbook:
def get_loader(self):
return self._loader
def get_entries(self):
def get_plays(self):
return self._entries[:]

View file

@ -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({