

def test_upload(self):
    ctxt = utils.dummy_context()
    orig_path = 'original path'
    assembly = fakes.FakeAssembly()
    build_id = '5678'
    baseuploader = uploader.UploaderBase(ctxt, orig_path, build_id, build_id, 'fakestage')
    baseuploader.write_userlog_row = mock.MagicMock()
    baseuploader.upload_log()
    self.assertEqual(0, baseuploader.write_userlog_row.call_count)

dataset/ETHPy150Open openstack/solum/solum/tests/uploaders/test_common.py CommonTest.test_upload/VarMisuse@44/65 `assembly`->`build_id`