我想在使用Pelican创建的博客上放置外部图像
所以我尝试:
some text
.. image:: http://example.com/image.png
:alt: Alt text
Run Code Online (Sandbox Code Playgroud)
运行“ pelican -s pelicanconf.py”后,出现错误:
ERROR: Better Fig. Error: image not found: /Users/kendriu/sources/pelican-blog/contenthttp:/example.com/image.png
ERROR: Could not process ./4_joe.rst
| [Errno 2] No such file or directory: u'/Users/kendriu/sources/pelican-blog/contenthttp:/example.com/image.png'
Run Code Online (Sandbox Code Playgroud)
而且我的帖子中没有图片。
问题是:如何在我的博客中放置外部图像。
我有时会看到测试被评为 :pending
ExUnit.start
ExUnit.configure(exclude: :pending)
defmodule SublistTest do
use ExUnit.Case, async: true
test "empty equals empty" do
assert Sublist.compare([], []) == :equal
end
@tag :pending
test "empty is a sublist of anything" do
assert Sublist.compare([], [nil]) == :sublist
end
end
Run Code Online (Sandbox Code Playgroud)
当你从shell运行测试时,显然会从执行中排除
elixir sublist_test.exs
Run Code Online (Sandbox Code Playgroud)
有没有办法在:pending命令行运行测试时包含测试?
第二个问题:为什么人们将测试标记为:pending.