mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
17 lines
351 B
Python
17 lines
351 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
'''
|
||
|
Validate the boto_iam module
|
||
|
'''
|
||
|
|
||
|
|
||
|
from salttesting.helpers import ensure_in_syspath
|
||
|
ensure_in_syspath('../../')
|
||
|
|
||
|
import integration
|
||
|
|
||
|
|
||
|
class BotoIAMTest(integration.ModuleCase):
|
||
|
|
||
|
def test_get_account_id(self):
|
||
|
ret = self.run_function('boto_iam.get_account_id')
|
||
|
self.assertRegexpMatches(ret, r'^\d{12}$')
|