Overview
Comment:add get_data probe in pyz test
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 77cb85f450cad339f1300867390588d17176ee83f5afd536518a5dba5f0c3268
User & Date: mario on 2022-10-31 06:11:05
Other Links: manifest | tags
Context
2022-10-31
06:12
pyz get_data check-in: 821af929fa user: mario tags: trunk
06:11
add get_data probe in pyz test check-in: 77cb85f450 user: mario tags: trunk
06:10
prepare packae uncovery, fixate utf-8 decode with duck typing and exception check-in: b2ed9dcfa1 user: mario tags: trunk
Changes

Modified test/.pyz.d/inner.py from [1741139225] to [6878578850].

8
9
10
11
12
13
14
15
#
# doc here


import os.path
__path__ = [os.path.dirname(__file__)]

print("inner module invoked")







|
8
9
10
11
12
13
14
15
#
# doc here


import os.path
__path__ = [os.path.dirname(__file__)]

print("inner module invoked (__path__=%s)" % __path__)

Modified test/.pyz.pyz from [7c3eb74c9f] to [b48790dc04].

cannot compute difference between binary files

Modified test/Makefile from [3e328a947c] to [71f5ec18f0].

1
2
3
4
pyz:	.pyz.pyz

.pyz.pyz: .pyz.d/*
	cd .pyz.d ; zip ../.pyz.pyz *



|
1
2
3
4
pyz:	.pyz.pyz

.pyz.pyz: .pyz.d/*
	cd .pyz.d ; zip ../.pyz.pyz * d/*

Modified test/pyz.py from [6bf0e6292d] to [dc2e88d40d].

35
36
37
38
39
40
41




42
43
44
45
46
def inner_props(pmd):
    assert pmd["type"] == "pyz"
    assert pmd["category"] == "complex"
    assert pmd["title"] == "pyz module"
    assert pmd["config"][0]["name"] == "relation"
    assert pmd["state"] == "alpha"





def tearDown(reset):
    pass
#    pass#pluginconf.plugin_base = [".", "test", os.path.dirname(__file__), "."]
#    #pluginconf.module_base = "all_plugin_meta"
#    sys.path.pop(0)







>
>
>
>





35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
def inner_props(pmd):
    assert pmd["type"] == "pyz"
    assert pmd["category"] == "complex"
    assert pmd["title"] == "pyz module"
    assert pmd["config"][0]["name"] == "relation"
    assert pmd["state"] == "alpha"

def get_data_wihin_pyz_module(pmd):
    import get_data
    assert get_data.data == "🞂find_me🞀"

def tearDown(reset):
    pass
#    pass#pluginconf.plugin_base = [".", "test", os.path.dirname(__file__), "."]
#    #pluginconf.module_base = "all_plugin_meta"
#    sys.path.pop(0)