Module Expr Str Import alias ImportFrom alias alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr Str decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
Created on 24/03/2012

@author: piranna
 N/A unittest sqlparse.filters StripWhitespace Tokens2Unicode sqlparse.lexer tokenize Test__StripWhitespace N/A N/A unittest TestCase N/A N/A sql INSERT INTO dir_entries(type)VALUES(:type);

            INSERT INTO directories(inode)
                            VALUES(:inode)
            LIMIT 1 N/A sql2 SELECT child_entry,asdf AS inode, creation
              FROM links
              WHERE parent_dir == :parent_dir AND name == :name
              LIMIT 1 N/A sql3 SELECT
    0 AS st_dev,
    0 AS st_uid,
    0 AS st_gid,

    dir_entries.type         AS st_mode,
    dir_entries.inode        AS st_ino,
    COUNT(links.child_entry) AS st_nlink,

    :creation                AS st_ctime,
    dir_entries.access       AS st_atime,
    dir_entries.modification AS st_mtime,

    COALESCE(files.size,0) AS st_size,
    COALESCE(files.size,0) AS size

FROM dir_entries
    LEFT JOIN files
        ON dir_entries.inode == files.inode
    LEFT JOIN links
        ON dir_entries.inode == links.child_entry

WHERE dir_entries.inode == :inode

GROUP BY dir_entries.inode
LIMIT 1 test_StripWhitespace1 N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A Tokens2Unicode N/A StripWhitespace N/A tokenize N/A self sql INSERT INTO dir_entries(type)VALUES(:type);INSERT INTO directories(inode)VALUES(:inode)LIMIT 1 N/A test_StripWhitespace2 N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A Tokens2Unicode N/A StripWhitespace N/A tokenize N/A self sql2 SELECT child_entry,asdf AS inode,creation FROM links WHERE parent_dir==:parent_dir AND name==:name LIMIT 1 N/A test_StripWhitespace3 N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A Tokens2Unicode N/A StripWhitespace N/A tokenize N/A self sql3 SELECT 0 AS st_dev,0 AS st_uid,0 AS st_gid,dir_entries.type AS st_mode,dir_entries.inode AS st_ino,COUNT(links.child_entry)AS st_nlink,:creation AS st_ctime,dir_entries.access AS st_atime,dir_entries.modification AS st_mtime,COALESCE(files.size,0)AS st_size,COALESCE(files.size,0)AS size FROM dir_entries LEFT JOIN files ON dir_entries.inode==files.inode LEFT JOIN links ON dir_entries.inode==links.child_entry WHERE dir_entries.inode==:inode GROUP BY dir_entries.inode LIMIT 1 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main