Clarify stdin input

Resolve #836.
This commit is contained in:
poljakowski 2020-09-21 09:04:05 +02:00
commit 89b6215115
5 changed files with 29 additions and 64 deletions

View file

@ -307,11 +307,10 @@ class InventoryTestCase(test.CdistTestCase):
raise e
# InventoryTag
@unittest.expectedFailure
def test_inventory_tag_init(self):
invTag = inventory.InventoryTag(db_basedir=inventory_dir,
action="add")
self.assertTrue(invTag.allhosts)
self.assertEqual(invTag.tagfile, "-")
def test_inventory_tag_stdin_multiple_hosts(self):
try: