88 lines
2.4 KiB
Markdown
88 lines
2.4 KiB
Markdown
|
|
<!-- Generated with Stardoc: http://skydoc.bazel.build -->
|
||
|
|
|
||
|
|
Tests for functions which use *args or **kwargs
|
||
|
|
|
||
|
|
<a id="macro_with_args"></a>
|
||
|
|
|
||
|
|
## macro_with_args
|
||
|
|
|
||
|
|
<pre>
|
||
|
|
macro_with_args(<a href="#macro_with_args-name">name</a>, <a href="#macro_with_args-args">args</a>)
|
||
|
|
</pre>
|
||
|
|
|
||
|
|
My args macro is OK.
|
||
|
|
|
||
|
|
**PARAMETERS**
|
||
|
|
|
||
|
|
|
||
|
|
| Name | Description | Default Value |
|
||
|
|
| :------------- | :------------- | :------------- |
|
||
|
|
| <a id="macro_with_args-name"></a>name | The name of the test rule. | none |
|
||
|
|
| <a id="macro_with_args-args"></a>args | Other arguments to include | none |
|
||
|
|
|
||
|
|
**RETURNS**
|
||
|
|
|
||
|
|
An empty list.
|
||
|
|
|
||
|
|
|
||
|
|
<a id="macro_with_both"></a>
|
||
|
|
|
||
|
|
## macro_with_both
|
||
|
|
|
||
|
|
<pre>
|
||
|
|
macro_with_both(<a href="#macro_with_both-name">name</a>, <a href="#macro_with_both-number">number</a>, <a href="#macro_with_both-args">args</a>, <a href="#macro_with_both-kwargs">kwargs</a>)
|
||
|
|
</pre>
|
||
|
|
|
||
|
|
Oh wow this macro has both.
|
||
|
|
|
||
|
|
Not much else to say.
|
||
|
|
|
||
|
|
|
||
|
|
**PARAMETERS**
|
||
|
|
|
||
|
|
|
||
|
|
| Name | Description | Default Value |
|
||
|
|
| :------------- | :------------- | :------------- |
|
||
|
|
| <a id="macro_with_both-name"></a>name | The name of the test rule. | none |
|
||
|
|
| <a id="macro_with_both-number"></a>number | Some number used for important things | <code>3</code> |
|
||
|
|
| <a id="macro_with_both-args"></a>args | Other arguments to include | none |
|
||
|
|
| <a id="macro_with_both-kwargs"></a>kwargs | Other attributes to include | none |
|
||
|
|
|
||
|
|
**RETURNS**
|
||
|
|
|
||
|
|
An empty list.
|
||
|
|
|
||
|
|
|
||
|
|
<a id="macro_with_kwargs"></a>
|
||
|
|
|
||
|
|
## macro_with_kwargs
|
||
|
|
|
||
|
|
<pre>
|
||
|
|
macro_with_kwargs(<a href="#macro_with_kwargs-name">name</a>, <a href="#macro_with_kwargs-config">config</a>, <a href="#macro_with_kwargs-deps">deps</a>, <a href="#macro_with_kwargs-kwargs">kwargs</a>)
|
||
|
|
</pre>
|
||
|
|
|
||
|
|
My kwargs macro is the best.
|
||
|
|
|
||
|
|
This is a long multi-line doc string.
|
||
|
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer
|
||
|
|
elementum, diam vitae tincidunt pulvinar, nunc tortor volutpat dui,
|
||
|
|
vitae facilisis odio ligula a tortor. Donec ullamcorper odio eget ipsum tincidunt,
|
||
|
|
vel mollis eros pellentesque.
|
||
|
|
|
||
|
|
|
||
|
|
**PARAMETERS**
|
||
|
|
|
||
|
|
|
||
|
|
| Name | Description | Default Value |
|
||
|
|
| :------------- | :------------- | :------------- |
|
||
|
|
| <a id="macro_with_kwargs-name"></a>name | The name of the test rule. | none |
|
||
|
|
| <a id="macro_with_kwargs-config"></a>config | Config to use for my macro | none |
|
||
|
|
| <a id="macro_with_kwargs-deps"></a>deps | List of my macro's dependencies | <code>[]</code> |
|
||
|
|
| <a id="macro_with_kwargs-kwargs"></a>kwargs | Other attributes to include | none |
|
||
|
|
|
||
|
|
**RETURNS**
|
||
|
|
|
||
|
|
An empty list.
|
||
|
|
|
||
|
|
|