mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
remove test for issue #8976 closed as expected behavior
This commit is contained in:
parent
9b20a408a4
commit
ab88a276dc
@ -1,58 +0,0 @@
|
||||
# Complex require/require_in graph, using use for some require
|
||||
# issue #8796: use does not inherit require
|
||||
#
|
||||
# C (0) <====+ <===========+ <===+
|
||||
# | | |
|
||||
# A (1) ==u==+ | |
|
||||
# | |
|
||||
# E (3) <============+ | |
|
||||
# | | |
|
||||
# F (3) <=======+ | | |
|
||||
# | | | |
|
||||
# B (4) <==+ =u=+ =r=+ ==r=+ |
|
||||
# | |
|
||||
# D (5) =r=+ =r==================+
|
||||
|
||||
A:
|
||||
cmd.run:
|
||||
- name: echo A
|
||||
- use:
|
||||
- cmd: D
|
||||
# TODO: should be inherited and removed
|
||||
- require:
|
||||
- cmd: C
|
||||
|
||||
B:
|
||||
cmd.run:
|
||||
- name: echo B
|
||||
- require_in:
|
||||
- cmd: D
|
||||
- use:
|
||||
- cmd: D
|
||||
# TODO: should be inherited and removed
|
||||
- require:
|
||||
- cmd: C
|
||||
C:
|
||||
cmd.run:
|
||||
- name: echo C
|
||||
|
||||
D:
|
||||
cmd.run:
|
||||
- name: echo D
|
||||
- require:
|
||||
- cmd: C
|
||||
|
||||
E:
|
||||
cmd.run:
|
||||
- name: echo E
|
||||
- require_in:
|
||||
- cmd: B
|
||||
|
||||
F:
|
||||
cmd.run:
|
||||
- name: echo F
|
||||
- use:
|
||||
- cmd: E
|
||||
# TODO: should be inherited and removed
|
||||
- require_in:
|
||||
- cmd: B
|
@ -475,18 +475,6 @@ fi
|
||||
# }
|
||||
#self.assertEqual(expected_result, result)
|
||||
|
||||
# issue #8796: use does not inherit require
|
||||
# TODO: this test contains actually requires duplication to work
|
||||
# that shoudl be removed when use will be able to inherit require instructions
|
||||
result={}
|
||||
ret = self.run_function('state.sls', mods='requisites.require_and_use')
|
||||
for item,descr in ret.iteritems():
|
||||
result[item] = {
|
||||
'__run_num__': descr['__run_num__'],
|
||||
'comment':descr['comment'],
|
||||
'result':descr['result']
|
||||
}
|
||||
self.assertEqual(expected_req_use_result, result)
|
||||
|
||||
def test_requisites_require_ordering_and_errors(self):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user