Lines Matching refs:actions
41 import pkg.actions
227 for f, actions in nc.actions([]):
232 raise RuntimeError("actions() did not raise expected "
240 # This case should only return the dependency-related actions.
241 def validate_dep(f, actions):
243 for a in actions:
245 pkg.actions.generic.Action))
251 # No actions should be returned for this case,
264 for f, actions in nc.actions([nc.DEPENDENCY]):
265 validate_dep(f, actions)
268 for f, actions in nc.actions([nc.DEPENDENCY], last=True):
270 validate_dep(f, actions)
276 for (pub, stem, ver), entry, actions in nc.entry_actions(
280 validate_dep(f, actions)
282 # This case should only return the summary-related actions (but
284 for f, actions in nc.actions([nc.SUMMARY]):
286 for a in actions:
288 pkg.actions.generic.Action))
292 # No actions should be returned for this case,
300 # This case should only return the summary-related actions (but
302 for f, actions in nc.actions([nc.SUMMARY], excludes=excludes,
305 for a in actions:
307 pkg.actions.generic.Action))
311 # No actions should be returned for this case,
320 # This case should only return the summary-related actions (but
322 for f, actions in nc.actions([nc.SUMMARY], excludes=excludes):
324 for a in actions:
326 pkg.actions.generic.Action))
330 # No actions should be returned for this case,
338 # Verify that retrieving a single entry's actions works as well.
349 # This case should only return the dependency-related actions.
357 # This case should only return the summary-related actions (but
366 # This case should only return the summary-related actions (but
376 # This case should only return the summary-related actions (but
945 returned = sorted(entry["actions"])
998 """Verify that the actions-related catalog functions work as
1031 # These cases should not return any actions.
1032 for f, actions in nc.actions([nc.DEPENDENCY]):
1033 returned = [a for a in actions]
1136 (f, actions)
1137 for f, actions in self.c.actions([self.c.DEPENDENCY])