-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
shaileshmishra
authored and
shaileshmishra
committed
Apr 5, 2021
1 parent
883206a
commit c2544a8
Showing
27 changed files
with
2,273 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" /> | ||
<title>Coverage for contentstack_utils/__init__.py: 100%</title> | ||
<link rel="icon" sizes="32x32" href="favicon_32.png"> | ||
<link rel="stylesheet" href="style.css" type="text/css"> | ||
<script type="text/javascript" src="jquery.min.js"></script> | ||
<script type="text/javascript" src="jquery.hotkeys.js"></script> | ||
<script type="text/javascript" src="jquery.isonscreen.js"></script> | ||
<script type="text/javascript" src="coverage_html.js"></script> | ||
<script type="text/javascript"> | ||
jQuery(document).ready(coverage.pyfile_ready); | ||
</script> | ||
</head> | ||
<body class="pyfile"> | ||
<div id="header"> | ||
<div class="content"> | ||
<h1>Coverage for <b>contentstack_utils/__init__.py</b> : | ||
<span class="pc_cov">100%</span> | ||
</h1> | ||
<img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" /> | ||
<h2 class="stats"> | ||
12 statements | ||
<button type="button" class="run shortkey_r button_toggle_run" title="Toggle lines run">12 run</button> | ||
<button type="button" class="mis show_mis shortkey_m button_toggle_mis" title="Toggle lines missing">0 missing</button> | ||
<button type="button" class="exc show_exc shortkey_x button_toggle_exc" title="Toggle lines excluded">0 excluded</button> | ||
</h2> | ||
</div> | ||
</div> | ||
<div class="help_panel"> | ||
<img id="panel_icon" src="keybd_open.png" alt="Hide keyboard shortcuts" /> | ||
<p class="legend">Hot-keys on this page</p> | ||
<div> | ||
<p class="keyhelp"> | ||
<span class="key">r</span> | ||
<span class="key">m</span> | ||
<span class="key">x</span> | ||
<span class="key">p</span> toggle line displays | ||
</p> | ||
<p class="keyhelp"> | ||
<span class="key">j</span> | ||
<span class="key">k</span> next/prev highlighted chunk | ||
</p> | ||
<p class="keyhelp"> | ||
<span class="key">0</span> (zero) top of page | ||
</p> | ||
<p class="keyhelp"> | ||
<span class="key">1</span> (one) first highlighted chunk | ||
</p> | ||
</div> | ||
</div> | ||
<div id="source"> | ||
<p id="t1" class="pln"><span class="n"><a href="#t1">1</a></span><span class="t"><span class="com"># pip install -r requirements.txt</span> </span><span class="r"></span></p> | ||
<p id="t2" class="pln"><span class="n"><a href="#t2">2</a></span><span class="t"><span class="com"># pytest --html=tests/report/test-report.html</span> </span><span class="r"></span></p> | ||
<p id="t3" class="pln"><span class="n"><a href="#t3">3</a></span><span class="t"><span class="com"># coverage report -m</span> </span><span class="r"></span></p> | ||
<p id="t4" class="pln"><span class="n"><a href="#t4">4</a></span><span class="t"><span class="com"># coverage html -d coveragereport</span> </span><span class="r"></span></p> | ||
<p id="t5" class="run"><span class="n"><a href="#t5">5</a></span><span class="t"><span class="str">"""</span> </span><span class="r"></span></p> | ||
<p id="t6" class="pln"><span class="n"><a href="#t6">6</a></span><span class="t"><span class="str">The __init__.py files are required to make Python treat the directories as containing</span> </span><span class="r"></span></p> | ||
<p id="t7" class="pln"><span class="n"><a href="#t7">7</a></span><span class="t"><span class="str">packages; this is done to prevent directories with a common name, such as string,</span> </span><span class="r"></span></p> | ||
<p id="t8" class="pln"><span class="n"><a href="#t8">8</a></span><span class="t"><span class="str">from unintentionally hiding valid modules that occur later on the module search path</span> </span><span class="r"></span></p> | ||
<p id="t9" class="pln"><span class="n"><a href="#t9">9</a></span><span class="t"><span class="str">Used: Safety checks your installed dependencies for known security vulnerabilities</span> </span><span class="r"></span></p> | ||
<p id="t10" class="pln"><span class="n"><a href="#t10">10</a></span><span class="t"><span class="str">file __init__.py contains package information like</span> </span><span class="r"></span></p> | ||
<p id="t11" class="pln"><span class="n"><a href="#t11">11</a></span><span class="t"> </span><span class="r"></span></p> | ||
<p id="t12" class="pln"><span class="n"><a href="#t12">12</a></span><span class="t"><span class="str">__author__, __status__, __version__, __endpoint__ and __email__</span> </span><span class="r"></span></p> | ||
<p id="t13" class="pln"><span class="n"><a href="#t13">13</a></span><span class="t"> </span><span class="r"></span></p> | ||
<p id="t14" class="pln"><span class="n"><a href="#t14">14</a></span><span class="t"><span class="str">`Your code has been rated at 10.00/10`</span> </span><span class="r"></span></p> | ||
<p id="t15" class="pln"><span class="n"><a href="#t15">15</a></span><span class="t"><span class="str">"""</span> </span><span class="r"></span></p> | ||
<p id="t16" class="pln"><span class="n"><a href="#t16">16</a></span><span class="t"> </span><span class="r"></span></p> | ||
<p id="t17" class="run"><span class="n"><a href="#t17">17</a></span><span class="t"><span class="key">from</span> <span class="nam">contentstack_utils</span><span class="op">.</span><span class="nam">embedded</span><span class="op">.</span><span class="nam">item_type</span> <span class="key">import</span> <span class="nam">ItemType</span> </span><span class="r"></span></p> | ||
<p id="t18" class="run"><span class="n"><a href="#t18">18</a></span><span class="t"><span class="key">from</span> <span class="nam">contentstack_utils</span><span class="op">.</span><span class="nam">embedded</span><span class="op">.</span><span class="nam">styletype</span> <span class="key">import</span> <span class="nam">StyleType</span> </span><span class="r"></span></p> | ||
<p id="t19" class="run"><span class="n"><a href="#t19">19</a></span><span class="t"><span class="key">from</span> <span class="nam">contentstack_utils</span><span class="op">.</span><span class="nam">helper</span><span class="op">.</span><span class="nam">metadata</span> <span class="key">import</span> <span class="nam">Metadata</span> </span><span class="r"></span></p> | ||
<p id="t20" class="run"><span class="n"><a href="#t20">20</a></span><span class="t"><span class="key">from</span> <span class="nam">contentstack_utils</span><span class="op">.</span><span class="nam">render</span><span class="op">.</span><span class="nam">options</span> <span class="key">import</span> <span class="nam">Options</span> </span><span class="r"></span></p> | ||
<p id="t21" class="run"><span class="n"><a href="#t21">21</a></span><span class="t"><span class="key">from</span> <span class="nam">contentstack_utils</span><span class="op">.</span><span class="nam">utils</span> <span class="key">import</span> <span class="nam">Utils</span> </span><span class="r"></span></p> | ||
<p id="t22" class="pln"><span class="n"><a href="#t22">22</a></span><span class="t"> </span><span class="r"></span></p> | ||
<p id="t23" class="run"><span class="n"><a href="#t23">23</a></span><span class="t"><span class="nam">__title__</span> <span class="op">=</span> <span class="str">'contentstack_utils'</span> </span><span class="r"></span></p> | ||
<p id="t24" class="run"><span class="n"><a href="#t24">24</a></span><span class="t"><span class="nam">__author__</span> <span class="op">=</span> <span class="str">'contentstack'</span> </span><span class="r"></span></p> | ||
<p id="t25" class="run"><span class="n"><a href="#t25">25</a></span><span class="t"><span class="nam">__status__</span> <span class="op">=</span> <span class="str">'debug'</span> </span><span class="r"></span></p> | ||
<p id="t26" class="run"><span class="n"><a href="#t26">26</a></span><span class="t"><span class="nam">__version__</span> <span class="op">=</span> <span class="str">'0.0.1'</span> </span><span class="r"></span></p> | ||
<p id="t27" class="run"><span class="n"><a href="#t27">27</a></span><span class="t"><span class="nam">__endpoint__</span> <span class="op">=</span> <span class="str">'cdn.contentstack.io'</span> </span><span class="r"></span></p> | ||
<p id="t28" class="run"><span class="n"><a href="#t28">28</a></span><span class="t"><span class="nam">__contact__</span> <span class="op">=</span> <span class="str">'[email protected]'</span> </span><span class="r"></span></p> | ||
</div> | ||
<div id="footer"> | ||
<div class="content"> | ||
<p> | ||
<a class="nav" href="index.html">« index</a> <a class="nav" href="https://coverage.readthedocs.io">coverage.py v5.5</a>, | ||
created at 2021-03-12 21:42 +0530 | ||
</p> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" /> | ||
<title>Coverage for contentstack_utils/embedded/item_type.py: 100%</title> | ||
<link rel="icon" sizes="32x32" href="favicon_32.png"> | ||
<link rel="stylesheet" href="style.css" type="text/css"> | ||
<script type="text/javascript" src="jquery.min.js"></script> | ||
<script type="text/javascript" src="jquery.hotkeys.js"></script> | ||
<script type="text/javascript" src="jquery.isonscreen.js"></script> | ||
<script type="text/javascript" src="coverage_html.js"></script> | ||
<script type="text/javascript"> | ||
jQuery(document).ready(coverage.pyfile_ready); | ||
</script> | ||
</head> | ||
<body class="pyfile"> | ||
<div id="header"> | ||
<div class="content"> | ||
<h1>Coverage for <b>contentstack_utils/embedded/item_type.py</b> : | ||
<span class="pc_cov">100%</span> | ||
</h1> | ||
<img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" /> | ||
<h2 class="stats"> | ||
4 statements | ||
<button type="button" class="run shortkey_r button_toggle_run" title="Toggle lines run">4 run</button> | ||
<button type="button" class="mis show_mis shortkey_m button_toggle_mis" title="Toggle lines missing">0 missing</button> | ||
<button type="button" class="exc show_exc shortkey_x button_toggle_exc" title="Toggle lines excluded">0 excluded</button> | ||
</h2> | ||
</div> | ||
</div> | ||
<div class="help_panel"> | ||
<img id="panel_icon" src="keybd_open.png" alt="Hide keyboard shortcuts" /> | ||
<p class="legend">Hot-keys on this page</p> | ||
<div> | ||
<p class="keyhelp"> | ||
<span class="key">r</span> | ||
<span class="key">m</span> | ||
<span class="key">x</span> | ||
<span class="key">p</span> toggle line displays | ||
</p> | ||
<p class="keyhelp"> | ||
<span class="key">j</span> | ||
<span class="key">k</span> next/prev highlighted chunk | ||
</p> | ||
<p class="keyhelp"> | ||
<span class="key">0</span> (zero) top of page | ||
</p> | ||
<p class="keyhelp"> | ||
<span class="key">1</span> (one) first highlighted chunk | ||
</p> | ||
</div> | ||
</div> | ||
<div id="source"> | ||
<p id="t1" class="pln"><span class="n"><a href="#t1">1</a></span><span class="t"><span class="str">"""</span> </span><span class="r"></span></p> | ||
<p id="t2" class="pln"><span class="n"><a href="#t2">2</a></span><span class="t"><span class="str">ItemType is Enumeration class that conatains two options for ItemType:</span> </span><span class="r"></span></p> | ||
<p id="t3" class="pln"><span class="n"><a href="#t3">3</a></span><span class="t"> </span><span class="r"></span></p> | ||
<p id="t4" class="pln"><span class="n"><a href="#t4">4</a></span><span class="t"><span class="str">ASSET</span> </span><span class="r"></span></p> | ||
<p id="t5" class="pln"><span class="n"><a href="#t5">5</a></span><span class="t"> </span><span class="r"></span></p> | ||
<p id="t6" class="pln"><span class="n"><a href="#t6">6</a></span><span class="t"><span class="str">ENTRY</span> </span><span class="r"></span></p> | ||
<p id="t7" class="pln"><span class="n"><a href="#t7">7</a></span><span class="t"><span class="str">"""</span> </span><span class="r"></span></p> | ||
<p id="t8" class="pln"><span class="n"><a href="#t8">8</a></span><span class="t"> </span><span class="r"></span></p> | ||
<p id="t9" class="run"><span class="n"><a href="#t9">9</a></span><span class="t"><span class="key">import</span> <span class="nam">enum</span> </span><span class="r"></span></p> | ||
<p id="t10" class="pln"><span class="n"><a href="#t10">10</a></span><span class="t"> </span><span class="r"></span></p> | ||
<p id="t11" class="pln"><span class="n"><a href="#t11">11</a></span><span class="t"> </span><span class="r"></span></p> | ||
<p id="t12" class="run"><span class="n"><a href="#t12">12</a></span><span class="t"><span class="key">class</span> <span class="nam">ItemType</span><span class="op">(</span><span class="nam">enum</span><span class="op">.</span><span class="nam">Enum</span><span class="op">)</span><span class="op">:</span> </span><span class="r"></span></p> | ||
<p id="t13" class="pln"><span class="n"><a href="#t13">13</a></span><span class="t"> <span class="str">"""</span> </span><span class="r"></span></p> | ||
<p id="t14" class="pln"><span class="n"><a href="#t14">14</a></span><span class="t"><span class="str"> Contains Two option for ItemsType</span> </span><span class="r"></span></p> | ||
<p id="t15" class="pln"><span class="n"><a href="#t15">15</a></span><span class="t"> </span><span class="r"></span></p> | ||
<p id="t16" class="pln"><span class="n"><a href="#t16">16</a></span><span class="t"><span class="str"> ENTRY</span> </span><span class="r"></span></p> | ||
<p id="t17" class="pln"><span class="n"><a href="#t17">17</a></span><span class="t"><span class="str"> ASSET</span> </span><span class="r"></span></p> | ||
<p id="t18" class="pln"><span class="n"><a href="#t18">18</a></span><span class="t"><span class="str"> """</span> </span><span class="r"></span></p> | ||
<p id="t19" class="run"><span class="n"><a href="#t19">19</a></span><span class="t"> <span class="nam">ENTRY</span> <span class="op">=</span> <span class="str">'entry'</span> </span><span class="r"></span></p> | ||
<p id="t20" class="run"><span class="n"><a href="#t20">20</a></span><span class="t"> <span class="nam">ASSET</span> <span class="op">=</span> <span class="str">'asset'</span> </span><span class="r"></span></p> | ||
</div> | ||
<div id="footer"> | ||
<div class="content"> | ||
<p> | ||
<a class="nav" href="index.html">« index</a> <a class="nav" href="https://coverage.readthedocs.io">coverage.py v5.5</a>, | ||
created at 2021-03-12 21:42 +0530 | ||
</p> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.