Project

General

Profile

« Previous | Next » 

Revision 4c6a2323

Added by koszko over 1 year ago

make Haketilo buildable again (for Mozilla)

How cool it is to throw away 5755 lines of code...

View differences:

test/unit/test_basic.py
40 40
    A trivial test case that verifies Haketilo's .js files can be properly
41 41
    loaded into a test page together with their dependencies.
42 42
    """
43
    execute_in_page(load_script('common/stored_types.js'))
43
    execute_in_page(load_script('common/indexeddb.js'))
44 44

  
45
    assert execute_in_page('returnval(TYPE_PREFIX.VAR);') == '_'
45
    assert 'mapping' in execute_in_page('returnval(stores.map(s => s[0]));')
46 46

  
47 47
@pytest.mark.ext_data({})
48 48
@pytest.mark.usefixtures('webextension')

Also available in: Unified diff