Example #1
0
    def test_EFSFileSystemTags_status(self):
        test_instance = tags.EFSFileSystemTags(
            "ctx_node", resource_id='fs_tags_id', client=self.fake_client,
            logger=None
        )

        self.assertEqual(test_instance.status, None)
    def test_EFSFileSystemTags_properties_NotEmpty(self):
        test_instance = tags.EFSFileSystemTags("ctx_node",
                                               resource_id='fs_tags_id',
                                               client=self.fake_client,
                                               logger=None)

        self.fake_client.describe_tags = MagicMock(
            return_value={'Tags': ['Some_Tags']})

        self.assertEqual(test_instance.properties, ['Some_Tags'])

        self.fake_client.describe_tags.assert_called_with(
            {'FileSystemId': 'fs_tags_id'})