holoviz / panel
1 6
import os
2 6
import panel
3

4

5 6
def test_models_encoding():
6 6
    model_dir = os.path.join(panel.__path__[0], 'models')
7 6
    for file in os.listdir(model_dir):
8 6
        if file.endswith('.ts'):
9 6
            open(os.path.join(model_dir, file), 'r').read()

Read our documentation on viewing source code .

Loading