OLD | NEW |
1 #!/usr/bin/env python | |
2 | |
3 # Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org/ | 1 # Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org/ |
4 # Copyright (c) 2010, Eucalyptus Systems, Inc. | 2 # Copyright (c) 2010, Eucalyptus Systems, Inc. |
5 # All rights reserved. | 3 # All rights reserved. |
6 # | 4 # |
7 # Permission is hereby granted, free of charge, to any person obtaining a | 5 # Permission is hereby granted, free of charge, to any person obtaining a |
8 # copy of this software and associated documentation files (the | 6 # copy of this software and associated documentation files (the |
9 # "Software"), to deal in the Software without restriction, including | 7 # "Software"), to deal in the Software without restriction, including |
10 # without limitation the rights to use, copy, modify, merge, publish, dis- | 8 # without limitation the rights to use, copy, modify, merge, publish, dis- |
11 # tribute, sublicense, and/or sell copies of the Software, and to permit | 9 # tribute, sublicense, and/or sell copies of the Software, and to permit |
12 # persons to whom the Software is furnished to do so, subject to the fol- | 10 # persons to whom the Software is furnished to do so, subject to the fol- |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 109 |
112 item = domain.get_attributes('item4', consistent_read=True) | 110 item = domain.get_attributes('item4', consistent_read=True) |
113 assert not item | 111 assert not item |
114 | 112 |
115 # now delete the domain | 113 # now delete the domain |
116 stat = c.delete_domain(domain) | 114 stat = c.delete_domain(domain) |
117 assert stat | 115 assert stat |
118 | 116 |
119 print '--- tests completed ---' | 117 print '--- tests completed ---' |
120 | 118 |
OLD | NEW |