Did I find the right examples for you? yes no

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/c/a/catsnap-HEAD/tests/document/test_image.py   catsnap(Download)
 
        eq_(table.new_item.call_count, 0, "shouldn't've made a new entry")
        item.__setitem__.assert_called_with('tags', '["cat", "kitten"]')
        item.put.assert_called_with()
 
        image.add_tags(['cat'])
 
        item.__setitem__.assert_called_with('tags', '["cat"]')
 
    def test_overwrites_source_url_if_present(self):

src/c/a/catsnap-HEAD/tests/document/test_tag.py   catsnap(Download)
        tag.add_file('Sewing_cat.gif')
        table.new_item.assert_called_with(hash_key='cat', attrs ={})
        item.__setitem__.assert_called_with('filenames', '["Sewing_cat.gif"]')
        item.put.assert_called_with()
 
 
        eq_(table.new_item.call_count, 0, "shouldn't've made a new entry")
        item.__setitem__.assert_called_with('filenames',
                '["Sewing_cat.gif", "other_cat.gif"]')
        item.put.assert_called_with()
        tag._stored_table = table
        tag.add_file('Sewing_cat.gif')
        item.__setitem__.assert_called_with('filenames', '["Sewing_cat.gif"]')
 
class TestGetFilenames(TestCase):

src/c/a/catsnap-HEAD/tests/batch/test_tag_batch.py   catsnap(Download)
        add_image_to_tags('beefcafe', ['bleep', 'bloop'])
 
        existing_tag_item.__setitem__.assert_called_with('filenames',
                '["facade", "beefcafe"]')
        get_item_batch.assert_called_with(

src/s/c/scalarizr-HEAD/tests/unit/scalarizrtests/test_node.py   scalarizr(Download)
 
        master['mike'] = 'story'
        store.__setitem__.assert_called_with('mike', 'story')